Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Residential.Windows.Validation.Nicol2001WindowsPakistan,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.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,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.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.509/2.509, allocations: 390.2 MB / 0.6646 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 0.8125 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7392/0.7406, allocations: 140.4 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003602/0.7443, allocations: 1.469 MB / 0.951 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.7458, allocations: 0.734 MB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.364e-05/0.7459, allocations: 0 / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.232e-05/0.7459, allocations: 5.469 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.746, allocations: 13.05 kB / 0.9517 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.7468, allocations: 118 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.7469, allocations: 82.77 kB / 0.9519 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.7471, allocations: 18.39 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.7472, allocations: 33.31 kB / 0.952 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.7473, allocations: 39.86 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.7473, allocations: 6.031 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.7476, allocations: 102.7 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.7476, allocations: 18.59 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.7477, allocations: 27.05 kB / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.748, allocations: 136.4 kB / 0.9523 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.748, allocations: 4 kB / 0.9523 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7481, allocations: 5.469 kB / 0.9523 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.7481, allocations: 0 / 0.9523 GB, free: 7.109 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.0007243/0.7488, allocations: 427.5 kB / 0.9527 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.7489, allocations: 9.469 kB / 0.9527 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.7489, allocations: 4.969 kB / 0.9527 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.749, allocations: 175.2 kB / 0.9529 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.7491, allocations: 3.562 kB / 0.9529 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.7491, allocations: 11.55 kB / 0.9529 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.7493, allocations: 80.44 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.7494, allocations: 0 / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.7494, allocations: 4.984 kB / 0.953 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.7494, allocations: 0.9375 kB / 0.953 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.7495, allocations: 32.7 kB / 0.953 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.7502, allocations: 329.6 kB / 0.9533 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.7503, allocations: 44.72 kB / 0.9534 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/0.7504, allocations: 31.41 kB / 0.9534 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.7504, allocations: 1.094 kB / 0.9534 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.7507, allocations: 82 kB / 0.9535 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.7507, allocations: 0 / 0.9535 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004582/0.7511, allocations: 144.2 kB / 0.9536 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.7512, allocations: 57.48 kB / 0.9537 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.7513, allocations: 117.3 kB / 0.9538 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.7513, allocations: 25.7 kB / 0.9538 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.7514, allocations: 95.28 kB / 0.9539 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.7514, allocations: 10.72 kB / 0.9539 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.7515, allocations: 34.45 kB / 0.954 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.34e-05/0.7515, allocations: 324.5 kB / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.7516, allocations: 26.03 kB / 0.9543 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.7517, allocations: 49.47 kB / 0.9543 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.7519, allocations: 76.55 kB / 0.9544 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7519, allocations: 1.156 kB / 0.9544 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002636/0.7522, allocations: 112.4 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7522, allocations: 7.438 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7522, allocations: 0 / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.7523, allocations: 2.125 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.7524, allocations: 12.02 kB / 0.9545 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.7524, allocations: 9.094 kB / 0.9545 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.736e-05/0.7525, allocations: 16.31 kB / 0.9546 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.7525, allocations: 2.344 kB / 0.9546 GB, free: 4.953 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 7.907e-05/0.7526, allocations: 119.5 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.7526, allocations: 6.438 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.7526, allocations: 14.39 kB / 0.9547 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.7526, allocations: 1.375 kB / 0.9547 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7526, allocations: 4 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7526, allocations: 4 kB / 0.9547 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.753, allocations: 383.6 kB / 0.9551 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7531, allocations: 0 / 0.9551 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.7531, allocations: 3.594 kB / 0.9551 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7531, allocations: 0 / 0.9551 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.7531, allocations: 5.078 kB / 0.9551 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.7531, allocations: 1.281 kB / 0.9551 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.7531, allocations: 3.938 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.7534, allocations: 206.6 kB / 0.9553 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.7535, allocations: 82.17 kB / 0.9554 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.7535, allocations: 9.547 kB / 0.9554 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.7536, allocations: 10.41 kB / 0.9554 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.7537, allocations: 10.7 kB / 0.9554 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.7537, allocations: 2.219 kB / 0.9554 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.043e-05/0.7537, allocations: 96.8 kB / 0.9555 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7537, allocations: 0 / 0.9555 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003255/0.754, allocations: 40.91 kB / 0.9555 GB, free: 4.043 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.0003797/0.7544, allocations: 168.2 kB / 0.9557 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.7547, allocations: 77.61 kB / 0.9558 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7547, allocations: 0 / 0.9558 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.7548, allocations: 32.86 kB / 0.9558 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.7551, allocations: 7.328 kB / 0.9558 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.7555, allocations: 185.9 kB / 0.956 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.7557, allocations: 0.6925 MB / 0.9566 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.7558, allocations: 2.75 kB / 0.9567 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.7558, allocations: 15.05 kB / 0.9567 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of SimCode: time 3.8e-07/0.7558, allocations: 0 / 0.9567 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of Templates: time 0.004831/0.7607, allocations: 1.455 MB / 0.9581 GB, free: 2.242 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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