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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000967/0.000967, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9691/0.9691, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.783/1.783, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.074e-06/2.074e-06, allocations: 0 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.322e-05, allocations: 10.14 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003173/0.003207, allocations: 1.567 MB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.004617, allocations: 0.8022 MB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.004676, allocations: 3.938 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.004709, allocations: 7.922 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.78e-05/0.004777, allocations: 15.81 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.005384, allocations: 148.5 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.005515, allocations: 99.62 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.683e-05/0.005581, allocations: 8.5 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.005744, allocations: 69.02 kB / 0.7897 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.00581, allocations: 35.89 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.005829, allocations: 8 kB / 0.7898 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.006111, allocations: 145.8 kB / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.006141, allocations: 23.91 kB / 0.7899 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.006187, allocations: 31.91 kB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.006451, allocations: 155.5 kB / 0.7901 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.006452, allocations: 0 / 0.7901 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006453, allocations: 2.094 kB / 0.7901 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.006459, allocations: 4 kB / 0.7901 GB, free: 9.422 MB / 0.7448 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.0005516/0.007011, allocations: 491.5 kB / 0.7906 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.007051, allocations: 8.031 kB / 0.7906 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002722/0.007323, allocations: 30.44 kB / 0.7906 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.007496, allocations: 132.5 kB / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.007521, allocations: 8.375 kB / 0.7907 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.007542, allocations: 8.312 kB / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.007718, allocations: 92.2 kB / 0.7908 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.007729, allocations: 192 / 0.7908 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.007742, allocations: 4.375 kB / 0.7908 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.007751, allocations: 5.688 kB / 0.7908 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.047e-05/0.007811, allocations: 15.98 kB / 0.7909 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007037/0.008515, allocations: 311.6 kB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.008637, allocations: 52.05 kB / 0.7912 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.008686, allocations: 19.67 kB / 0.7912 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.008704, allocations: 8.469 kB / 0.7912 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.008827, allocations: 94.92 kB / 0.7913 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.734e-06/0.008829, allocations: 0 / 0.7913 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003367/0.009165, allocations: 141.5 kB / 0.7915 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.009202, allocations: 55.39 kB / 0.7915 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.009318, allocations: 189 kB / 0.7917 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.009335, allocations: 32.23 kB / 0.7917 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.009403, allocations: 147.2 kB / 0.7919 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.009428, allocations: 23.83 kB / 0.7919 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.009477, allocations: 31.38 kB / 0.7919 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.009618, allocations: 0.4923 MB / 0.7924 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.009657, allocations: 11.98 kB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.388e-05/0.009731, allocations: 77.8 kB / 0.7925 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.009857, allocations: 108.6 kB / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.009859, allocations: 0 / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001899/0.01005, allocations: 114.1 kB / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.01007, allocations: 13.03 kB / 0.7927 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01007, allocations: 4 kB / 0.7927 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01009, allocations: 4 kB / 0.7927 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.01019, allocations: 21.14 kB / 0.7927 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01019, allocations: 0 / 0.7927 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.01025, allocations: 19.94 kB / 0.7928 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01026, allocations: 4.844 kB / 0.7928 GB, free: 6.434 MB / 0.7448 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 9.548e-05/0.01036, allocations: 171.3 kB / 0.7929 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.01038, allocations: 17.17 kB / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.01041, allocations: 12.42 kB / 0.7929 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01042, allocations: 4 kB / 0.793 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01042, allocations: 0 / 0.793 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01042, allocations: 0.8438 kB / 0.793 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.01085, allocations: 397.2 kB / 0.7933 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01085, allocations: 0.9375 kB / 0.7933 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.479e-05/0.01089, allocations: 7.984 kB / 0.7933 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.01089, allocations: 1.5 kB / 0.7933 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.0109, allocations: 4 kB / 0.7933 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.0109, allocations: 0 / 0.7933 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01091, allocations: 0 / 0.7933 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.01118, allocations: 283.7 kB / 0.7936 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.01119, allocations: 9.203 kB / 0.7936 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.01121, allocations: 7.984 kB / 0.7936 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.01129, allocations: 4 kB / 0.7936 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.01134, allocations: 15.02 kB / 0.7937 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.01135, allocations: 0 / 0.7937 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.874e-05/0.01142, allocations: 143.1 kB / 0.7938 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01142, allocations: 0 / 0.7938 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003595/0.01178, allocations: 43.92 kB / 0.7938 GB, free: 5.277 MB / 0.7448 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.000364/0.01214, allocations: 182.6 kB / 0.794 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.01232, allocations: 72.53 kB / 0.7941 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01232, allocations: 0 / 0.7941 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.0124, allocations: 40.3 kB / 0.7941 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.0127, allocations: 24.45 kB / 0.7941 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.01331, allocations: 202.2 kB / 0.7943 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.75e-05/0.01336, allocations: 63.34 kB / 0.7944 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.812e-05/0.01339, allocations: 10.97 kB / 0.7944 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.01343, allocations: 12.5 kB / 0.7944 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.01343, allocations: 0 / 0.7944 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of Templates: time 0.004699/0.01813, allocations: 1.769 MB / 0.7961 GB, free: 2.906 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.181106845848262]