Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.0011, allocations: 108.8 kB / 16.36 MB, free: 6.336 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.001053/0.001053, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.303/2.303, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 60.94 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2691, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002709/0.2719, allocations: 1.481 MB / 0.9526 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2732, allocations: 0.7245 MB / 0.9533 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.2733, allocations: 4 kB / 0.9533 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.2733, allocations: 3.938 kB / 0.9533 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.2734, allocations: 15.86 kB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.274, allocations: 127.6 kB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.2741, allocations: 75.7 kB / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2742, allocations: 12 kB / 0.9535 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.2743, allocations: 31.91 kB / 0.9535 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.2744, allocations: 39.83 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.2744, allocations: 8 kB / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.2746, allocations: 103.8 kB / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.2747, allocations: 11.98 kB / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.2747, allocations: 39.78 kB / 0.9537 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.275, allocations: 147.5 kB / 0.9539 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.275, allocations: 0 / 0.9539 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.024e-06/0.275, allocations: 0 / 0.9539 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.275, allocations: 0 / 0.9539 GB, free: 5.25 MB / 0.7325 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.0006217/0.2756, allocations: 416.9 kB / 0.9543 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2757, allocations: 8.031 kB / 0.9543 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.2757, allocations: 12.84 kB / 0.9543 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.2759, allocations: 168.3 kB / 0.9544 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.2759, allocations: 12.36 kB / 0.9544 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.2759, allocations: 4.375 kB / 0.9545 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.2761, allocations: 69.95 kB / 0.9545 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2761, allocations: 0 / 0.9545 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2761, allocations: 4 kB / 0.9545 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2761, allocations: 0 / 0.9545 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.2763, allocations: 47.91 kB / 0.9546 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.2769, allocations: 312.7 kB / 0.9549 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.277, allocations: 50.56 kB / 0.9549 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/0.2771, allocations: 32.97 kB / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2771, allocations: 8 kB / 0.955 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.2772, allocations: 79.25 kB / 0.955 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2773, allocations: 3.938 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003715/0.2776, allocations: 141.5 kB / 0.9552 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.2777, allocations: 51.41 kB / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.2778, allocations: 117.8 kB / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.2778, allocations: 29.7 kB / 0.9554 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.2778, allocations: 100.2 kB / 0.9555 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.2779, allocations: 15.75 kB / 0.9555 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.2779, allocations: 29.7 kB / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.2781, allocations: 322.8 kB / 0.9558 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.2782, allocations: 27.98 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-05/0.2783, allocations: 54.5 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.2785, allocations: 66.55 kB / 0.9559 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2785, allocations: 0 / 0.9559 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002286/0.2787, allocations: 109.5 kB / 0.9561 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2788, allocations: 8.062 kB / 0.9561 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2788, allocations: 4 kB / 0.9561 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2788, allocations: 0 / 0.9561 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.927e-05/0.2789, allocations: 19.92 kB / 0.9561 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.2789, allocations: 4 kB / 0.9561 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.279, allocations: 11.91 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.279, allocations: 0 / 0.9561 GB, free: 2.707 MB / 0.7325 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 9.1e-05/0.2791, allocations: 129.3 kB / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.2791, allocations: 4 kB / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.2792, allocations: 16.36 kB / 0.9562 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2792, allocations: 0 / 0.9562 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2792, allocations: 3.938 kB / 0.9562 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2792, allocations: 0 / 0.9562 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.2796, allocations: 390.2 kB / 0.9566 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2796, allocations: 0 / 0.9566 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.2797, allocations: 7.984 kB / 0.9566 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2797, allocations: 4 kB / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2797, allocations: 4 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2797, allocations: 0 / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2797, allocations: 3.938 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.28, allocations: 207.9 kB / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.28, allocations: 85.02 kB / 0.9569 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.2801, allocations: 0 / 0.9569 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-05/0.2802, allocations: 4 kB / 0.9569 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.2802, allocations: 15.92 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.2802, allocations: 0 / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.171e-05/0.2803, allocations: 95.92 kB / 0.957 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2803, allocations: 3.938 kB / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002836/0.2806, allocations: 36 kB / 0.9571 GB, free: 1.617 MB / 0.7325 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.0002809/0.2809, allocations: 170.5 kB / 0.9572 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.2811, allocations: 71.89 kB / 0.9573 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.2811, allocations: 0 / 0.9573 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.2812, allocations: 35.92 kB / 0.9573 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.2814, allocations: 11.92 kB / 0.9573 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.2818, allocations: 193 kB / 0.9575 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.2821, allocations: 0.6883 MB / 0.9582 GB, free: 416 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.065e-05/0.2821, allocations: 4 kB / 0.9582 GB, free: 412 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.2821, allocations: 15.42 kB / 0.9582 GB, free: 396 kB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2821, allocations: 0 / 0.9582 GB, free: 396 kB / 0.7325 GB Notification: Performance of Templates: time 0.004014/0.2862, allocations: 1.466 MB / 0.9596 GB, free: 14.92 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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