Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009117/0.009117, allocations: 168.8 kB / 16.26 MB, free: 6.66 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.491/2.491, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 8 kB / 0.8159 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6678/0.6682, allocations: 142.4 MB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002457/0.6708, allocations: 1.226 MB / 0.9562 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.6725, allocations: 0.7327 MB / 0.9569 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/0.6727, allocations: 0.875 kB / 0.9569 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.6727, allocations: 3.938 kB / 0.9569 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.6728, allocations: 14.08 kB / 0.957 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006944/0.6735, allocations: 109.2 kB / 0.9571 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.6737, allocations: 85.12 kB / 0.9571 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.6738, allocations: 21.94 kB / 0.9572 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.6739, allocations: 43.72 kB / 0.9572 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.674, allocations: 41.17 kB / 0.9572 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.6741, allocations: 3.781 kB / 0.9572 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.6743, allocations: 86.09 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.6744, allocations: 17.02 kB / 0.9573 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.6744, allocations: 75.78 kB / 0.9574 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.6747, allocations: 146.2 kB / 0.9576 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6747, allocations: 0 / 0.9576 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6747, allocations: 1.781 kB / 0.9576 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.6747, allocations: 0 / 0.9576 GB, free: 5.727 MB / 0.7169 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.0006537/0.6754, allocations: 445.5 kB / 0.958 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.6755, allocations: 9.375 kB / 0.958 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.6756, allocations: 13.38 kB / 0.958 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.6757, allocations: 180 kB / 0.9582 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.6758, allocations: 8.656 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.6758, allocations: 5.406 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.6761, allocations: 96.97 kB / 0.9583 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.6761, allocations: 0 / 0.9583 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.6761, allocations: 1.469 kB / 0.9583 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.6762, allocations: 0.9062 kB / 0.9583 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.6764, allocations: 54.53 kB / 0.9583 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006835/0.6771, allocations: 324.6 kB / 0.9586 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.6773, allocations: 72.11 kB / 0.9587 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.6774, allocations: 43.03 kB / 0.9588 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.6774, allocations: 1.125 kB / 0.9588 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.6777, allocations: 106.3 kB / 0.9589 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.6777, allocations: 4 kB / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005004/0.6782, allocations: 189.6 kB / 0.959 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.6782, allocations: 61.8 kB / 0.9591 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.6783, allocations: 123.4 kB / 0.9592 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.6783, allocations: 35.09 kB / 0.9593 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.6784, allocations: 91.47 kB / 0.9593 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.6784, allocations: 20.03 kB / 0.9594 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.6784, allocations: 26.8 kB / 0.9594 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.6785, allocations: 325.9 kB / 0.9597 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.6786, allocations: 26.02 kB / 0.9597 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.871e-05/0.6787, allocations: 82.33 kB / 0.9598 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.6789, allocations: 116.1 kB / 0.9599 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6789, allocations: 5.312 kB / 0.9599 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002501/0.6792, allocations: 132.8 kB / 0.96 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6792, allocations: 9.5 kB / 0.9601 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6792, allocations: 6.734 kB / 0.9601 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.6792, allocations: 2.75 kB / 0.9601 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.6793, allocations: 20.3 kB / 0.9601 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.6793, allocations: 1.375 kB / 0.9601 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.6794, allocations: 22.7 kB / 0.9601 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.6794, allocations: 8.062 kB / 0.9601 GB, free: 3.363 MB / 0.7169 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.119e-05/0.6795, allocations: 130 kB / 0.9602 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.6795, allocations: 6.75 kB / 0.9602 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.6796, allocations: 13.73 kB / 0.9603 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.6796, allocations: 1.375 kB / 0.9603 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.6796, allocations: 5.359 kB / 0.9603 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6796, allocations: 0 / 0.9603 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.6801, allocations: 443.9 kB / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6801, allocations: 0 / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.6801, allocations: 4.125 kB / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.6801, allocations: 1.375 kB / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.6801, allocations: 5.359 kB / 0.9607 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6802, allocations: 0 / 0.9607 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6802, allocations: 3.938 kB / 0.9607 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.6805, allocations: 259 kB / 0.9609 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.6805, allocations: 87.7 kB / 0.961 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.6806, allocations: 1.375 kB / 0.961 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.6807, allocations: 5.5 kB / 0.961 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.6807, allocations: 14.67 kB / 0.9611 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.6807, allocations: 6.734 kB / 0.9611 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.6808, allocations: 98.45 kB / 0.9612 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6808, allocations: 0 / 0.9612 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003231/0.6811, allocations: 43.56 kB / 0.9612 GB, free: 2.395 MB / 0.7169 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.0003289/0.6815, allocations: 164.4 kB / 0.9613 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.6817, allocations: 97.83 kB / 0.9614 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6818, allocations: 0 / 0.9614 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.6819, allocations: 52.97 kB / 0.9615 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.6822, allocations: 14.11 kB / 0.9615 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.6826, allocations: 236.7 kB / 0.9617 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.6827, allocations: 0.6896 MB / 0.9624 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.687e-05/0.6828, allocations: 11.33 kB / 0.9624 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.6828, allocations: 10.78 kB / 0.9624 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/0.6828, allocations: 1.188 kB / 0.9624 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of Templates: time 0.004339/0.6872, allocations: 1.605 MB / 0.964 GB, free: 476 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches