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.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.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.001478/0.001478, allocations: 110 kB / 16.37 MB, free: 6.469 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.001594/0.001594, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.18 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.216/2.216, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 62.09 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2477, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002472/0.2502, allocations: 1.48 MB / 0.9526 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2514, allocations: 0.7284 MB / 0.9533 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.2514, allocations: 0 / 0.9533 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.2515, allocations: 3.938 kB / 0.9533 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.2515, allocations: 15.86 kB / 0.9533 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.252, allocations: 123.6 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.2521, allocations: 79.77 kB / 0.9535 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.2522, allocations: 8 kB / 0.9535 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.544e-05/0.2523, allocations: 35.89 kB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.774e-05/0.2524, allocations: 39.84 kB / 0.9536 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2524, allocations: 8 kB / 0.9536 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.2526, allocations: 95.84 kB / 0.9537 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.2526, allocations: 23.91 kB / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.2527, allocations: 31.86 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.2529, allocations: 143.6 kB / 0.9539 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2529, allocations: 0 / 0.9539 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2529, allocations: 0 / 0.9539 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.2529, allocations: 0 / 0.9539 GB, free: 5.262 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.0005719/0.2535, allocations: 420.8 kB / 0.9543 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2535, allocations: 8.031 kB / 0.9543 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.2536, allocations: 12.84 kB / 0.9543 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2537, allocations: 176.3 kB / 0.9544 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.2537, allocations: 12.3 kB / 0.9545 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.2537, allocations: 4.375 kB / 0.9545 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.2539, allocations: 73.95 kB / 0.9545 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2539, allocations: 3.984 kB / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.2539, allocations: 0 / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.254, allocations: 4 kB / 0.9545 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2541, allocations: 39.91 kB / 0.9546 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.2547, allocations: 316.7 kB / 0.9549 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.2548, allocations: 46.56 kB / 0.9549 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.2549, allocations: 32.97 kB / 0.955 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.2549, allocations: 0 / 0.955 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.2551, allocations: 83.31 kB / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.2551, allocations: 0 / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003812/0.2555, allocations: 149.8 kB / 0.9552 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.2555, allocations: 51.41 kB / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.968e-05/0.2556, allocations: 121.8 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.2556, allocations: 33.7 kB / 0.9554 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.2557, allocations: 92.12 kB / 0.9555 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.2557, allocations: 19.75 kB / 0.9555 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.2558, allocations: 29.7 kB / 0.9555 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2559, allocations: 318.8 kB / 0.9558 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.486e-05/0.256, allocations: 27.98 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.2561, allocations: 46.5 kB / 0.9559 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.2562, allocations: 78.55 kB / 0.956 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2562, allocations: 3.938 kB / 0.956 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002416/0.2565, allocations: 117.5 kB / 0.9561 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2565, allocations: 4 kB / 0.9561 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2565, allocations: 8.062 kB / 0.9561 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2565, allocations: 0 / 0.9561 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.2566, allocations: 15.92 kB / 0.9561 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2566, allocations: 0 / 0.9561 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.2567, allocations: 7.906 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.2567, allocations: 8 kB / 0.9561 GB, free: 2.695 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 8.605e-05/0.2568, allocations: 121.8 kB / 0.9562 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.2569, allocations: 4 kB / 0.9562 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.2569, allocations: 16.38 kB / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2569, allocations: 0 / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2569, allocations: 0 / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2569, allocations: 0 / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.2573, allocations: 382.3 kB / 0.9566 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2574, allocations: 0 / 0.9566 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.2574, allocations: 7.984 kB / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2574, allocations: 3.938 kB / 0.9566 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2574, allocations: 4 kB / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2574, allocations: 4 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2574, allocations: 3.938 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.2577, allocations: 207.4 kB / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.2578, allocations: 89 kB / 0.9569 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.2578, allocations: 0 / 0.9569 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.2579, allocations: 4 kB / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.2579, allocations: 15.92 kB / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.258, allocations: 4 kB / 0.9569 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.258, allocations: 91.27 kB / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.473e-06/0.258, allocations: 0 / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002909/0.2583, allocations: 39.94 kB / 0.9571 GB, free: 1.613 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.0002935/0.2586, allocations: 169.4 kB / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.2588, allocations: 75.88 kB / 0.9573 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2588, allocations: 0 / 0.9573 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.604e-05/0.2589, allocations: 31.98 kB / 0.9573 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.2592, allocations: 15.92 kB / 0.9574 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.2596, allocations: 193 kB / 0.9575 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.2598, allocations: 0.6922 MB / 0.9582 GB, free: 404 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.2599, allocations: 4 kB / 0.9582 GB, free: 400 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2599, allocations: 15.42 kB / 0.9582 GB, free: 384 kB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.2599, allocations: 0 / 0.9582 GB, free: 384 kB / 0.7325 GB Notification: Performance of Templates: time 0.003835/0.2637, allocations: 1.449 MB / 0.9596 GB, free: 14.93 MB / 0.7481 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 -s gbode -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/jenkins1/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