Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 111.7 kB / 18.88 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 202.3 kB / 22.17 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 59.91 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.8011, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002724/0.8038, allocations: 1.519 MB / 1.276 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.8052, allocations: 0.7651 MB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.8053, allocations: 3.938 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.8053, allocations: 3.938 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.8054, allocations: 11.88 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.806, allocations: 131.6 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.8061, allocations: 91.7 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.408e-05/0.8062, allocations: 11.97 kB / 1.277 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.735e-05/0.8063, allocations: 43.8 kB / 1.277 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.8064, allocations: 51.81 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.8064, allocations: 8 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.8066, allocations: 99.89 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.8066, allocations: 19.97 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.8067, allocations: 35.8 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.8069, allocations: 166.1 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.807, allocations: 0 / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.807, allocations: 0 / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.807, allocations: 3.938 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007034/0.8077, allocations: 458.4 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.8077, allocations: 8.031 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.8077, allocations: 20.83 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.8079, allocations: 172.8 kB / 1.278 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.8079, allocations: 8.375 kB / 1.278 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.8079, allocations: 8.375 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.8082, allocations: 97.81 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.8082, allocations: 0 / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.8082, allocations: 0 / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.8082, allocations: 7.984 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.8083, allocations: 43.97 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.8089, allocations: 328.6 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.8091, allocations: 58.56 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.8092, allocations: 36.83 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.8092, allocations: 4 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.8095, allocations: 99.39 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.8095, allocations: 0 / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005214/0.81, allocations: 185.5 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.81, allocations: 55.41 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.8102, allocations: 133.9 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.8102, allocations: 29.7 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.8102, allocations: 88.38 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.8103, allocations: 23.84 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.8103, allocations: 37.7 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.8105, allocations: 322.8 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.462e-05/0.8106, allocations: 27.97 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.8107, allocations: 73.94 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.8109, allocations: 109.9 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8109, allocations: 7.938 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002864/0.8112, allocations: 137.5 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.8112, allocations: 9.562 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.8112, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.8112, allocations: 4.375 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.8113, allocations: 19.92 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8113, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.8114, allocations: 11.95 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.8114, allocations: 16.09 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.8115, allocations: 126.4 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.8116, allocations: 11.95 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.8116, allocations: 8.375 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.8116, allocations: 0 / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8116, allocations: 0 / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8116, allocations: 0 / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006074/0.8122, allocations: 442.5 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8122, allocations: 0 / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.8123, allocations: 7.984 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8123, allocations: 0 / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.8123, allocations: 4 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.8123, allocations: 7.969 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8123, allocations: 4.031 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.8127, allocations: 251.4 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.8127, allocations: 89.05 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.8127, allocations: 0 / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.8129, allocations: 4 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.8129, allocations: 11.92 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.8129, allocations: 8 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.274e-05/0.813, allocations: 91.27 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.813, allocations: 0 / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003196/0.8133, allocations: 43.92 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003592/0.8137, allocations: 169.4 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.8139, allocations: 83.83 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.8139, allocations: 4.312 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.8141, allocations: 47.91 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.8144, allocations: 23.98 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.8148, allocations: 211.5 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.8152, allocations: 0.6924 MB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.8152, allocations: 11.94 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.8152, allocations: 11.44 kB / 1.282 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.8152, allocations: 0 / 1.282 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of Templates: time 0.00524/0.8205, allocations: 1.731 MB / 1.283 GB, free: 10.54 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.765092615969479]