Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 110.4 kB / 16.37 MB, free: 6.016 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.001838/0.001839, allocations: 194.1 kB / 17.31 MB, free: 5.613 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 61.44 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2677, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002476/0.2702, allocations: 1.495 MB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2713, allocations: 0.7337 MB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.2714, allocations: 3.938 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.2714, allocations: 3.938 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.2715, allocations: 19.84 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.272, allocations: 111.6 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.2721, allocations: 79.81 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.2722, allocations: 16 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.531e-05/0.2723, allocations: 35.84 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.2723, allocations: 35.89 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.2724, allocations: 8 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.2725, allocations: 95.84 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.2726, allocations: 19.92 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.2726, allocations: 31.84 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.2728, allocations: 139.5 kB / 1.022 GB, free: 7.031 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2729, allocations: 4 kB / 1.022 GB, free: 7.027 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2729, allocations: 4 kB / 1.022 GB, free: 7.023 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2729, allocations: 3.984 kB / 1.022 GB, free: 7.02 MB / 0.795 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.0005502/0.2734, allocations: 416.9 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.2735, allocations: 12.03 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.2735, allocations: 8.844 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.2736, allocations: 180.2 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.2737, allocations: 4.375 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.2737, allocations: 12.38 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.2738, allocations: 69.97 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.2739, allocations: 0 / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2739, allocations: 0 / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2739, allocations: 0 / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.274, allocations: 39.91 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.2746, allocations: 320.8 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.2747, allocations: 42.56 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.2748, allocations: 40.95 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2748, allocations: 0 / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.275, allocations: 83.31 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.275, allocations: 4 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003611/0.2754, allocations: 129.5 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.2754, allocations: 59.41 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.2755, allocations: 121.8 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.2755, allocations: 25.7 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.2756, allocations: 92.2 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.2756, allocations: 15.75 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.2757, allocations: 33.7 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.2758, allocations: 326.8 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.2759, allocations: 23.92 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.84e-05/0.276, allocations: 50.5 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.2761, allocations: 78.55 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2761, allocations: 0 / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002317/0.2764, allocations: 109.5 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2764, allocations: 4 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2764, allocations: 400 / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2764, allocations: 4 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/0.2765, allocations: 15.92 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2765, allocations: 4.062 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.2766, allocations: 15.89 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.2766, allocations: 7.984 kB / 1.024 GB, free: 4.469 MB / 0.795 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 7.832e-05/0.2767, allocations: 118.3 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.2767, allocations: 4 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.2768, allocations: 8.375 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2768, allocations: 0 / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2768, allocations: 4 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2768, allocations: 4 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.2772, allocations: 390.2 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2772, allocations: 0 / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.2773, allocations: 15.92 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2773, allocations: 0 / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.2773, allocations: 0 / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2773, allocations: 0 / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2773, allocations: 3.938 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.2776, allocations: 215.3 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.2776, allocations: 81.11 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.2776, allocations: 4 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.2777, allocations: 4 kB / 1.025 GB, free: 3.535 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.2778, allocations: 15.86 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.2778, allocations: 4 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.527e-05/0.2779, allocations: 91.92 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2779, allocations: 4 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002851/0.2781, allocations: 39.98 kB / 1.025 GB, free: 3.383 MB / 0.795 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.000288/0.2784, allocations: 155.9 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.2787, allocations: 75.95 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2787, allocations: 0 / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.2788, allocations: 43.91 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.2791, allocations: 10.34 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.2794, allocations: 176.3 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.2797, allocations: 0.6846 MB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.343e-05/0.2797, allocations: 12.05 kB / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.2798, allocations: 11.44 kB / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.2798, allocations: 0 / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of Templates: time 0.003876/0.2836, allocations: 1.452 MB / 1.027 GB, free: 0.7266 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0