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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 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.001073/0.001073, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 469.4 MB / 0.742 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.89 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2529, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002683/0.2556, allocations: 1.645 MB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2569, allocations: 0.7963 MB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.257, allocations: 7.938 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.257, allocations: 3.938 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.932e-05/0.2571, allocations: 23.72 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.2577, allocations: 155.6 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.2579, allocations: 155.5 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.258, allocations: 17.12 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2581, allocations: 71.75 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.2582, allocations: 75.73 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.2583, allocations: 12 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.2585, allocations: 99.91 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.2585, allocations: 39.88 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.681e-05/0.2586, allocations: 59.72 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.2589, allocations: 211.7 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2589, allocations: 0 / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2589, allocations: 0 / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2589, allocations: 0 / 1.067 GB, free: 11.13 MB / 0.8262 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.000792/0.2597, allocations: 0.5407 MB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2598, allocations: 8.031 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.2598, allocations: 38.75 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.2599, allocations: 12.84 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.26, allocations: 188.1 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.2601, allocations: 8.375 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.2601, allocations: 4.375 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.2606, allocations: 145.6 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2606, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.2606, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2606, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.2611, allocations: 99.91 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007551/0.2618, allocations: 380.5 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.2622, allocations: 106.5 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.2625, allocations: 92.72 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2626, allocations: 0 / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.263, allocations: 135.3 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.263, allocations: 4 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001143/0.2642, allocations: 305.2 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.2642, allocations: 55.55 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2644, allocations: 153.2 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.2644, allocations: 29.7 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.2644, allocations: 108.3 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.2645, allocations: 31.58 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.2645, allocations: 29.7 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.2646, allocations: 330.8 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.2648, allocations: 35.97 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.2649, allocations: 83.38 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.2652, allocations: 121 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2652, allocations: 4 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003632/0.2656, allocations: 149.4 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2656, allocations: 8 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2656, allocations: 0 / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2656, allocations: 4 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.2658, allocations: 24.05 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.2658, allocations: 7.984 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.2659, allocations: 15.91 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.266, allocations: 11.92 kB / 1.07 GB, free: 7.613 MB / 0.8262 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.542e-05/0.2661, allocations: 122.5 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.2661, allocations: 11.89 kB / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.2661, allocations: 16.66 kB / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2661, allocations: 4 kB / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2662, allocations: 0 / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.2662, allocations: 0 / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.2672, allocations: 0.5294 MB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.2672, allocations: 4.469 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-05/0.2673, allocations: 11.98 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2673, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.2673, allocations: 3.984 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2673, allocations: 3.938 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2674, allocations: 11.88 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.2681, allocations: 323.2 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.2682, allocations: 85.02 kB / 1.071 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.2682, allocations: 4 kB / 1.071 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.2685, allocations: 27.91 kB / 1.071 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.2685, allocations: 11.98 kB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.2686, allocations: 7.984 kB / 1.071 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.435e-05/0.2686, allocations: 103.3 kB / 1.071 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2686, allocations: 0 / 1.071 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003261/0.269, allocations: 47.98 kB / 1.071 GB, free: 6.199 MB / 0.8262 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.001246/0.2702, allocations: 0.9237 MB / 1.072 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005501/0.2708, allocations: 147.8 kB / 1.072 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2708, allocations: 0 / 1.072 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.2711, allocations: 91.86 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.2714, allocations: 11.92 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.2736, allocations: 1.764 MB / 1.074 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.2738, allocations: 0.6964 MB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.643e-05/0.2739, allocations: 15.92 kB / 1.075 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.2739, allocations: 31.42 kB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2739, allocations: 4 kB / 1.075 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.2921, allocations: 3.442 MB / 1.078 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/7.885, allocations: 4.438 kB / 1.078 GB, free: 15.06 MB / 0.8419 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