Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 108.7 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001459, allocations: 186.2 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.371/2.371, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7719, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002675/0.7746, allocations: 1.505 MB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.776, allocations: 0.7517 MB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.776, allocations: 0 / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.7761, allocations: 7.875 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.696e-05/0.7762, allocations: 19.84 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.7768, allocations: 131.6 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.7769, allocations: 87.7 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.777, allocations: 12 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.556e-05/0.7771, allocations: 43.89 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.7772, allocations: 39.83 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.7772, allocations: 8 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.7774, allocations: 103.8 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.7775, allocations: 23.91 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.7775, allocations: 43.8 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.7778, allocations: 155.4 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7778, allocations: 0 / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7778, allocations: 0 / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.7778, allocations: 0 / 1.17 GB, free: 0.9375 MB / 0.8887 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.0006401/0.7785, allocations: 460.3 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.7785, allocations: 16.92 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.7786, allocations: 8.844 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.7787, allocations: 180.2 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.7788, allocations: 4.375 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.7788, allocations: 12.36 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.779, allocations: 85.89 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.779, allocations: 0 / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.779, allocations: 4 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.7791, allocations: 7.922 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.7792, allocations: 47.97 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.7798, allocations: 316.8 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.78, allocations: 66.58 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.7801, allocations: 40.84 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.7801, allocations: 8 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.7803, allocations: 91.36 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.7803, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0004633/0.7808, allocations: 181.5 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.7808, allocations: 59.41 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.781, allocations: 131.5 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.781, allocations: 37.64 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.781, allocations: 96.5 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.7811, allocations: 15.75 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.7811, allocations: 33.7 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7812, allocations: 326.8 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.923e-05/0.7813, allocations: 27.98 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.7814, allocations: 73.98 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.7816, allocations: 113.9 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.7816, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002639/0.7819, allocations: 133.4 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.7819, allocations: 4 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7819, allocations: 4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.782, allocations: 4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.7821, allocations: 16.14 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.7821, allocations: 11.88 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.7822, allocations: 19.83 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.7822, allocations: 4.375 kB / 1.173 GB, free: 14.07 MB / 0.9044 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 8.803e-05/0.7823, allocations: 121.8 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.7823, allocations: 7.906 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.7823, allocations: 12.38 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7824, allocations: 7.938 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.7824, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7824, allocations: 3.984 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.7829, allocations: 430.4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.7829, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.783, allocations: 7.938 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.783, allocations: 4 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.783, allocations: 3.984 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.783, allocations: 4 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.783, allocations: 7.938 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.7833, allocations: 247.3 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.7834, allocations: 85.02 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.7834, allocations: 4 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.7835, allocations: 7.984 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.7836, allocations: 7.938 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.7836, allocations: 7.984 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.232e-05/0.7837, allocations: 99.27 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7837, allocations: 0 / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003041/0.784, allocations: 40 kB / 1.174 GB, free: 12.88 MB / 0.9044 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.0003349/0.7843, allocations: 179.7 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.7846, allocations: 95.81 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7846, allocations: 0 / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.7847, allocations: 47.92 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.785, allocations: 16.55 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.7855, allocations: 241.5 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.7857, allocations: 0.6885 MB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.7858, allocations: 11.44 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.7858, allocations: 0 / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of Templates: time 0.003642/0.7894, allocations: 1.783 MB / 1.177 GB, free: 9.785 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches