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.001657/0.001657, 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.001806/0.001806, allocations: 195.5 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.319/2.319, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5185/0.5199, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002269/0.5222, allocations: 1.632 MB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.5233, allocations: 0.7988 MB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.5233, allocations: 1.062 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.5234, allocations: 11.86 kB / 0.9521 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.235e-05/0.5235, allocations: 19.14 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.524, allocations: 153 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.5241, allocations: 151.5 kB / 0.9524 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/0.5242, allocations: 27.91 kB / 0.9524 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.503e-05/0.5243, allocations: 67.08 kB / 0.9525 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.624e-05/0.5244, allocations: 79.5 kB / 0.9526 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.5245, allocations: 12.31 kB / 0.9526 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.5247, allocations: 105.5 kB / 0.9527 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.5247, allocations: 33.5 kB / 0.9527 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.5248, allocations: 61.14 kB / 0.9528 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.525, allocations: 211.6 kB / 0.953 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.525, allocations: 0 / 0.953 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.525, allocations: 1.406 kB / 0.953 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.525, allocations: 0 / 0.953 GB, free: 6.656 MB / 0.7169 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.0006204/0.5257, allocations: 0.5435 MB / 0.9535 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.5257, allocations: 9.875 kB / 0.9535 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.5257, allocations: 35.97 kB / 0.9536 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.5258, allocations: 11.19 kB / 0.9536 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.396e-05/0.5259, allocations: 186.2 kB / 0.9537 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.5259, allocations: 7.156 kB / 0.9537 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.5259, allocations: 10 kB / 0.9538 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.5263, allocations: 146.9 kB / 0.9539 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.5264, allocations: 0 / 0.9539 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.5264, allocations: 5.188 kB / 0.9539 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5264, allocations: 1.188 kB / 0.9539 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.5268, allocations: 103.8 kB / 0.954 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006967/0.5275, allocations: 376.8 kB / 0.9544 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.5279, allocations: 106.9 kB / 0.9545 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.5282, allocations: 87.11 kB / 0.9545 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.5282, allocations: 5.25 kB / 0.9546 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.5286, allocations: 137.2 kB / 0.9547 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.572e-06/0.5286, allocations: 1.219 kB / 0.9547 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001093/0.5297, allocations: 308.6 kB / 0.955 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.5298, allocations: 55.41 kB / 0.955 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.5299, allocations: 148 kB / 0.9552 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.5299, allocations: 30.56 kB / 0.9552 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.5299, allocations: 100.4 kB / 0.9553 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.53, allocations: 23.92 kB / 0.9553 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.53, allocations: 30.52 kB / 0.9554 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.799e-05/0.5301, allocations: 325.4 kB / 0.9557 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.5302, allocations: 47.39 kB / 0.9557 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.5303, allocations: 76.03 kB / 0.9558 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.5306, allocations: 127.5 kB / 0.9559 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5306, allocations: 0 / 0.9559 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003493/0.531, allocations: 163.7 kB / 0.9561 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.531, allocations: 6.312 kB / 0.9561 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.531, allocations: 6.406 kB / 0.9561 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.531, allocations: 5.031 kB / 0.9561 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.5311, allocations: 24.03 kB / 0.9561 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5312, allocations: 0.7812 kB / 0.9561 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.5313, allocations: 15.56 kB / 0.9561 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.5313, allocations: 11.8 kB / 0.9561 GB, free: 3.906 MB / 0.7169 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 7.024e-05/0.5314, allocations: 128.4 kB / 0.9562 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.5314, allocations: 12.31 kB / 0.9563 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.5314, allocations: 12.06 kB / 0.9563 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5314, allocations: 1.062 kB / 0.9563 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5315, allocations: 0 / 0.9563 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5315, allocations: 5.078 kB / 0.9563 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/0.5324, allocations: 0.5207 MB / 0.9568 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5324, allocations: 1.438 kB / 0.9568 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.433e-05/0.5325, allocations: 12.77 kB / 0.9568 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.5325, allocations: 0 / 0.9568 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.5325, allocations: 9.047 kB / 0.9568 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5325, allocations: 9.125 kB / 0.9568 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5325, allocations: 0 / 0.9568 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.5332, allocations: 326.8 kB / 0.9571 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.5333, allocations: 86.7 kB / 0.9572 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.5333, allocations: 5.812 kB / 0.9572 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.5335, allocations: 24.41 kB / 0.9572 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.5336, allocations: 7.578 kB / 0.9572 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.5336, allocations: 11.58 kB / 0.9573 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.652e-05/0.5337, allocations: 109.1 kB / 0.9574 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5337, allocations: 0 / 0.9574 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003171/0.534, allocations: 52.95 kB / 0.9574 GB, free: 2.824 MB / 0.7169 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.001081/0.5351, allocations: 0.9222 MB / 0.9583 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005189/0.5356, allocations: 151 kB / 0.9585 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5356, allocations: 1.281 kB / 0.9585 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.536, allocations: 91.8 kB / 0.9585 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.5362, allocations: 20.31 kB / 0.9586 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.5381, allocations: 1.759 MB / 0.9603 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.5383, allocations: 0.7058 MB / 0.961 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.148e-05/0.5383, allocations: 4.344 kB / 0.961 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.5384, allocations: 31.83 kB / 0.961 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5384, allocations: 1.094 kB / 0.961 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.5567, allocations: 3.449 MB / 0.9644 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.811, allocations: 5.219 kB / 0.9644 GB, free: 13.84 MB / 0.7325 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