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.004871/0.004871, allocations: 95.42 kB / 15.73 MB, free: 6.039 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.001288/0.001288, allocations: 204.1 kB / 16.68 MB, free: 5.969 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.548/2.548, allocations: 437.1 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 68.08 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.255, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.00247/0.2575, allocations: 1.47 MB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2588, allocations: 0.7284 MB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.2588, allocations: 0 / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.2589, allocations: 11.92 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/0.2589, allocations: 19.8 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.2595, allocations: 123.6 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.2596, allocations: 75.72 kB / 1.169 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.2597, allocations: 15.98 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.403e-05/0.2598, allocations: 31.91 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.314e-05/0.2598, allocations: 39.89 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.2599, allocations: 8 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.2601, allocations: 99.78 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.2601, allocations: 19.97 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.2602, allocations: 27.86 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.2604, allocations: 143.8 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2604, allocations: 0 / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2604, allocations: 0 / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.2604, allocations: 3.938 kB / 1.169 GB, free: 4.512 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.0006165/0.2611, allocations: 432.6 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2611, allocations: 12.02 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.2611, allocations: 34.75 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.2612, allocations: 4.891 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2613, allocations: 172.3 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.2613, allocations: 8.375 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.2614, allocations: 8.359 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.2615, allocations: 73.77 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2616, allocations: 0 / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.2616, allocations: 8 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2616, allocations: 0 / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.2617, allocations: 39.91 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.2623, allocations: 308.8 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.2625, allocations: 50.56 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.2626, allocations: 36.97 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.2626, allocations: 0 / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.2628, allocations: 75.31 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2628, allocations: 0 / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003956/0.2632, allocations: 141.7 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.2632, allocations: 63.39 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.622e-05/0.2633, allocations: 113.8 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.2634, allocations: 33.7 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.2634, allocations: 92.08 kB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.2634, allocations: 23.78 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.2635, allocations: 25.7 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2636, allocations: 322.8 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.597e-05/0.2637, allocations: 35.91 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.204e-05/0.2638, allocations: 50.5 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.264, allocations: 66.55 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.264, allocations: 4 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002537/0.2643, allocations: 121.8 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2643, allocations: 8 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2643, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2643, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.2644, allocations: 19.92 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.2644, allocations: 0 / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.2645, allocations: 4 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.2645, allocations: 4 kB / 1.171 GB, free: 1.91 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 8.77e-05/0.2646, allocations: 125.8 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.2646, allocations: 11.94 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.2646, allocations: 4.375 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2647, allocations: 0 / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2647, allocations: 4 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2647, allocations: 0 / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.2652, allocations: 386.4 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2652, allocations: 4 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.2652, allocations: 4 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2652, allocations: 0 / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2652, allocations: 3.984 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.2653, allocations: 3.938 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2653, allocations: 3.938 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.2655, allocations: 211.4 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.2656, allocations: 92.98 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.2656, allocations: 4 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.2657, allocations: 7.922 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.2658, allocations: 7.984 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-06/0.2658, allocations: 0 / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.2658, allocations: 99.92 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2658, allocations: 0 / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002965/0.2661, allocations: 35.94 kB / 1.172 GB, free: 0.8203 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.0007449/0.2669, allocations: 0.8033 MB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.2672, allocations: 75.89 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2672, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.753e-05/0.2673, allocations: 40.44 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.2675, allocations: 3.938 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.2691, allocations: 1.497 MB / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.2694, allocations: 0.6846 MB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.2694, allocations: 7.984 kB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.2695, allocations: 19.44 kB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.2695, allocations: 0 / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.2898, allocations: 2.657 MB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.647, allocations: 7.891 kB / 1.178 GB, free: 11.04 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset