Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008824/0.008824, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.002133/0.002134, allocations: 195.4 kB / 16.79 MB, free: 5.809 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.5765, allocations: 140.3 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002353/0.5789, allocations: 1.553 MB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.58, allocations: 0.7326 MB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.58, allocations: 1.562 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.58, allocations: 3.938 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.5801, allocations: 9.562 kB / 0.9518 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.5805, allocations: 104.4 kB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.716e-05/0.5806, allocations: 77.89 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.5807, allocations: 18.25 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.822e-05/0.5808, allocations: 28.88 kB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.584e-05/0.5809, allocations: 40.2 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.5809, allocations: 8.156 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.5811, allocations: 93.59 kB / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.5811, allocations: 15.14 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.5811, allocations: 27.95 kB / 0.9522 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.5813, allocations: 98.7 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5813, allocations: 1.375 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.41e-07/0.5813, allocations: 0 / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.5813, allocations: 0 / 0.9523 GB, free: 7.043 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005255/0.5819, allocations: 428.4 kB / 0.9527 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.5819, allocations: 8.75 kB / 0.9527 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.5819, allocations: 8.406 kB / 0.9527 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.38e-05/0.582, allocations: 176.6 kB / 0.9529 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.5821, allocations: 6.641 kB / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.5821, allocations: 7.562 kB / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.5823, allocations: 76.53 kB / 0.953 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-06/0.5823, allocations: 0 / 0.953 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.5823, allocations: 1.312 kB / 0.953 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.5823, allocations: 1.312 kB / 0.953 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.5824, allocations: 40.25 kB / 0.953 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.5829, allocations: 321.1 kB / 0.9533 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.5831, allocations: 45.66 kB / 0.9534 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.5832, allocations: 39.66 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.5832, allocations: 0 / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.5834, allocations: 78.09 kB / 0.9535 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.5834, allocations: 0 / 0.9535 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003629/0.5838, allocations: 136.6 kB / 0.9536 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.5838, allocations: 64.72 kB / 0.9537 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/0.5839, allocations: 125.8 kB / 0.9538 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.5839, allocations: 25.7 kB / 0.9538 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.5839, allocations: 90.88 kB / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.5839, allocations: 14.72 kB / 0.9539 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.584, allocations: 30.58 kB / 0.954 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.331e-05/0.584, allocations: 324.4 kB / 0.9543 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/0.5841, allocations: 26.27 kB / 0.9543 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.5842, allocations: 45.16 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.5844, allocations: 73.05 kB / 0.9544 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5844, allocations: 1.406 kB / 0.9544 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002156/0.5846, allocations: 116.7 kB / 0.9545 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.5846, allocations: 9.531 kB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5846, allocations: 0 / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.5846, allocations: 1.375 kB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.5847, allocations: 12.36 kB / 0.9545 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5847, allocations: 5.5 kB / 0.9545 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.5848, allocations: 11.97 kB / 0.9546 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.5848, allocations: 4.125 kB / 0.9546 GB, free: 4.891 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.395e-05/0.5849, allocations: 133.1 kB / 0.9547 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.5849, allocations: 7.75 kB / 0.9547 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.585, allocations: 9.719 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.585, allocations: 1.156 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.585, allocations: 0 / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.585, allocations: 0 / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.5853, allocations: 378.8 kB / 0.9551 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5853, allocations: 5.156 kB / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.5854, allocations: 7.547 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5854, allocations: 0 / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.5854, allocations: 1.469 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.5854, allocations: 7.938 kB / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.5854, allocations: 5.125 kB / 0.9551 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.5857, allocations: 209.7 kB / 0.9553 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.5857, allocations: 86.42 kB / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.5857, allocations: 1.438 kB / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.5858, allocations: 2.281 kB / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.5859, allocations: 15.73 kB / 0.9554 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.5859, allocations: 1.062 kB / 0.9554 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.328e-05/0.5859, allocations: 93.36 kB / 0.9555 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5859, allocations: 0 / 0.9555 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002967/0.5862, allocations: 39.33 kB / 0.9555 GB, free: 3.98 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002903/0.5865, allocations: 170.9 kB / 0.9557 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.5867, allocations: 69.62 kB / 0.9558 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5867, allocations: 0 / 0.9558 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.237e-05/0.5868, allocations: 40.56 kB / 0.9558 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.5871, allocations: 12.19 kB / 0.9558 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.5875, allocations: 206.2 kB / 0.956 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.812e-05/0.5876, allocations: 0.6914 MB / 0.9567 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.5876, allocations: 14.38 kB / 0.9567 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5876, allocations: 1.906 kB / 0.9567 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of Templates: time 0.002904/0.5905, allocations: 1.612 MB / 0.9583 GB, free: 2.062 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches