Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_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.003981/0.003981, allocations: 104.4 kB / 15.74 MB, free: 6.027 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.001032/0.001032, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.723/2.723, allocations: 469.4 MB / 0.7422 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 60.12 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2551, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002601/0.2578, allocations: 1.648 MB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2591, allocations: 0.7868 MB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.2592, allocations: 0 / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.2592, allocations: 11.86 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.874e-05/0.2593, allocations: 19.8 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.2599, allocations: 151.5 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.2601, allocations: 159.5 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.2602, allocations: 25.11 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.2603, allocations: 63.81 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.952e-05/0.2604, allocations: 71.73 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.2604, allocations: 16 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.2607, allocations: 111.8 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.2607, allocations: 39.88 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.2608, allocations: 63.66 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.2611, allocations: 203.2 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2611, allocations: 0 / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2611, allocations: 4 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2611, allocations: 0 / 1.223 GB, free: 11.28 MB / 0.9825 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.0007466/0.2618, allocations: 0.5405 MB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2619, allocations: 20.02 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.2619, allocations: 34.75 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.262, allocations: 20.78 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2621, allocations: 180.2 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.2621, allocations: 4.375 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.2622, allocations: 8.375 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.2626, allocations: 141.7 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2627, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.2627, allocations: 7.984 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2627, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.2631, allocations: 103.8 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.2639, allocations: 380.6 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.2643, allocations: 102.5 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.2646, allocations: 80.8 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2647, allocations: 3.984 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004557/0.2651, allocations: 143.2 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.2651, allocations: 0 / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001137/0.2663, allocations: 309.3 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.2663, allocations: 55.41 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.2664, allocations: 149.3 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.2665, allocations: 25.7 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.2665, allocations: 112.8 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.2666, allocations: 23.84 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.2666, allocations: 29.7 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.2667, allocations: 326.8 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.2669, allocations: 43.91 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.267, allocations: 89.67 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.2673, allocations: 129 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2673, allocations: 4 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003634/0.2677, allocations: 157.4 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2677, allocations: 4 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2677, allocations: 0 / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2677, allocations: 4 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.2679, allocations: 20.11 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.2679, allocations: 7.938 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.268, allocations: 23.88 kB / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.2681, allocations: 7.938 kB / 1.226 GB, free: 7.742 MB / 0.9825 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 9.792e-05/0.2682, allocations: 117.8 kB / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.2682, allocations: 11.95 kB / 1.226 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.2682, allocations: 12.72 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2682, allocations: 8 kB / 1.226 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2682, allocations: 112 / 1.226 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2683, allocations: 3.938 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.2693, allocations: 0.5217 MB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2693, allocations: 0 / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.022e-05/0.2694, allocations: 15.92 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2694, allocations: 0 / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.2694, allocations: 11.98 kB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2694, allocations: 3.938 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2694, allocations: 0 / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007945/0.2702, allocations: 323.3 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.2703, allocations: 92.95 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.2703, allocations: 4 kB / 1.227 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.2706, allocations: 32.09 kB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.2706, allocations: 7.984 kB / 1.227 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.2706, allocations: 3.938 kB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.179e-05/0.2707, allocations: 117.9 kB / 1.227 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2707, allocations: 0 / 1.227 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003285/0.2711, allocations: 47.92 kB / 1.227 GB, free: 6.32 MB / 0.9825 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.001261/0.2723, allocations: 0.9248 MB / 1.228 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005437/0.2729, allocations: 144 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2729, allocations: 3.938 kB / 1.229 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.2732, allocations: 87.92 kB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.2735, allocations: 13.81 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.2757, allocations: 1.792 MB / 1.23 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.2759, allocations: 0.7039 MB / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.133e-05/0.276, allocations: 4 kB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.2761, allocations: 31.42 kB / 1.231 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.2761, allocations: 0 / 1.231 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.2936, allocations: 3.49 MB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.962, allocations: 7.922 kB / 1.234 GB, free: 15.14 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.on from file Buildings_latest_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