Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 108.6 kB / 15.73 MB, free: 76 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.00172/0.00172, allocations: 190.4 kB / 16.66 MB, free: 6.59 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437.1 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 67.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.261, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002802/0.2639, allocations: 1.47 MB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2652, allocations: 0.7362 MB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.2653, allocations: 3.938 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.2653, allocations: 3.938 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.2654, allocations: 11.88 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.2659, allocations: 119.6 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2661, allocations: 79.77 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.245e-05/0.2662, allocations: 15.98 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.559e-05/0.2663, allocations: 39.84 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.2663, allocations: 39.83 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.2664, allocations: 4 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.2666, allocations: 95.91 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.2666, allocations: 15.98 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.2666, allocations: 27.86 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.2669, allocations: 143.8 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2669, allocations: 4 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2669, allocations: 7.938 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2669, allocations: 0 / 1.169 GB, free: 4.48 MB / 0.92 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.0006404/0.2676, allocations: 428.7 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2676, allocations: 8.031 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.2677, allocations: 30.75 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.2677, allocations: 8.891 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.2679, allocations: 180.2 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.2679, allocations: 8.375 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.2679, allocations: 8.375 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.2681, allocations: 73.7 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2681, allocations: 0 / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2681, allocations: 0 / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.2681, allocations: 4 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.2683, allocations: 39.97 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.2689, allocations: 308.8 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.269, allocations: 54.5 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.2691, allocations: 40.95 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2691, allocations: 4 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.2693, allocations: 79.44 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.2693, allocations: 0 / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003831/0.2697, allocations: 137.6 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.2698, allocations: 55.34 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2699, allocations: 121.8 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.2699, allocations: 37.58 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.27, allocations: 92.09 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.27, allocations: 19.84 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.2701, allocations: 29.7 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2702, allocations: 322.8 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.2703, allocations: 27.98 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.504e-05/0.2704, allocations: 46.55 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.2705, allocations: 78.48 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2706, allocations: 0 / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002365/0.2708, allocations: 113.5 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2708, allocations: 8 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2708, allocations: 0 / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2708, allocations: 0 / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.2709, allocations: 11.98 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.271, allocations: 8.062 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.271, allocations: 4 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.271, allocations: 3.984 kB / 1.171 GB, free: 1.879 MB / 0.92 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.706e-05/0.2711, allocations: 125.7 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.2712, allocations: 3.953 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.2712, allocations: 12.38 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2712, allocations: 0 / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2712, allocations: 0 / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2712, allocations: 7.984 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.2717, allocations: 382.4 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2717, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.2717, allocations: 11.92 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2717, allocations: 0 / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2718, allocations: 7.938 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2718, allocations: 3.938 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2718, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.2721, allocations: 208 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.2721, allocations: 89 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.2721, allocations: 0 / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.2722, allocations: 7.938 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.2723, allocations: 7.984 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.2723, allocations: 0 / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.2724, allocations: 95.27 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2724, allocations: 8 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002749/0.2726, allocations: 35.92 kB / 1.172 GB, free: 0.793 MB / 0.92 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.0008425/0.2735, allocations: 0.8091 MB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.2737, allocations: 71.83 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2737, allocations: 0 / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-05/0.2738, allocations: 35.98 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.2741, allocations: 11.92 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.2757, allocations: 1.495 MB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.276, allocations: 0.6885 MB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.605e-05/0.2761, allocations: 8 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.2761, allocations: 23.42 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.2761, allocations: 0 / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7794/1.056, allocations: 2.665 MB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.8, allocations: 8.016 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed