Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.004655/0.004655, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001128/0.001128, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.397/2.397, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 62.69 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2586, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002864/0.2615, allocations: 1.637 MB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2629, allocations: 0.7921 MB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.263, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.53e-05/0.2631, allocations: 11.88 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.663e-05/0.2632, allocations: 23.78 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006744/0.2639, allocations: 143.6 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.2641, allocations: 159.5 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.2642, allocations: 29.11 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.2644, allocations: 71.75 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.2645, allocations: 71.72 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.2645, allocations: 16 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.2648, allocations: 99.91 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.2648, allocations: 35.89 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.2649, allocations: 59.72 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.2652, allocations: 214.7 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2652, allocations: 7.938 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2652, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.2653, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008334/0.2661, allocations: 0.5371 MB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2661, allocations: 8.031 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.2662, allocations: 34.75 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.2663, allocations: 12.84 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.2664, allocations: 193.5 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.2664, allocations: 4.375 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.2665, allocations: 12.36 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.2669, allocations: 141.7 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.267, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.267, allocations: 4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.267, allocations: 7.938 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.2674, allocations: 95.91 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/0.2683, allocations: 388.5 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.2687, allocations: 102.5 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.269, allocations: 84.78 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.269, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004801/0.2695, allocations: 143.2 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.2695, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001174/0.2707, allocations: 309.3 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.2708, allocations: 55.41 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.2709, allocations: 153.6 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2709, allocations: 25.7 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.271, allocations: 96.38 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.271, allocations: 31.78 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.2711, allocations: 33.7 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2712, allocations: 327.1 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.2714, allocations: 39.97 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.2715, allocations: 79 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.2718, allocations: 129 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2718, allocations: 3.938 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003707/0.2722, allocations: 157.4 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2722, allocations: 4 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2722, allocations: 4 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2722, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2724, allocations: 27.97 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2724, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2725, allocations: 15.89 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.2726, allocations: 16.06 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001071/0.2727, allocations: 121.9 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.2727, allocations: 11.84 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.2728, allocations: 20.7 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2728, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2728, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2728, allocations: 96 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.2738, allocations: 0.5255 MB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2739, allocations: 3.984 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.478e-05/0.2739, allocations: 11.98 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.274, allocations: 4 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.274, allocations: 4 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.274, allocations: 3.938 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.274, allocations: 0 / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008045/0.2748, allocations: 331.2 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.2749, allocations: 81.02 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.2749, allocations: 4 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.2751, allocations: 27.91 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.2752, allocations: 7.984 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.2752, allocations: 7.984 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.2753, allocations: 115.4 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2753, allocations: 3.938 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003471/0.2756, allocations: 47.94 kB / 1.095 GB, free: 9.688 MB / 0.8575 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.001362/0.277, allocations: 0.9232 MB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005466/0.2776, allocations: 135.8 kB / 1.096 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2776, allocations: 0 / 1.096 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.2779, allocations: 100.1 kB / 1.096 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.2782, allocations: 15.92 kB / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.2806, allocations: 1.769 MB / 1.098 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2809, allocations: 0.7002 MB / 1.099 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.778e-05/0.2809, allocations: 16.16 kB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.281, allocations: 31.42 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.281, allocations: 0 / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.3017, allocations: 3.477 MB / 1.102 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.932, allocations: 7.484 kB / 1.102 GB, free: 2.531 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[552]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TComf,win.TIn,win.TOut,win.p,TComf.amplitude