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.00496/0.00496, allocations: 100 kB / 15.73 MB, free: 6.02 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.001261/0.001261, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.203/2.203, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 64.14 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7286/0.73, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002859/0.7329, allocations: 1.637 MB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.7342, allocations: 0.7844 MB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.7343, allocations: 1.062 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.7343, allocations: 17.62 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.328e-05/0.7344, allocations: 28.94 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.735, allocations: 146.8 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.7351, allocations: 153.5 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.7353, allocations: 26.81 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.7354, allocations: 62 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.7355, allocations: 84.75 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.7355, allocations: 13.09 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.7357, allocations: 100.6 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.7358, allocations: 35.7 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.782e-05/0.7359, allocations: 62.47 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.7361, allocations: 208.1 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7362, allocations: 0 / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7362, allocations: 4 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.7362, allocations: 0 / 1.091 GB, free: 3.184 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.000663/0.7368, allocations: 0.5407 MB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.7369, allocations: 9.094 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.7369, allocations: 34.66 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.737, allocations: 18.78 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.685e-05/0.7371, allocations: 183.5 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.7371, allocations: 3.031 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.7371, allocations: 18.55 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.7376, allocations: 140.6 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.7376, allocations: 4.828 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.7376, allocations: 0.7969 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.7377, allocations: 1.844 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.7381, allocations: 105 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007389/0.7389, allocations: 379.4 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.7392, allocations: 103.4 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.7396, allocations: 94.11 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.7396, allocations: 1.719 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000441/0.7401, allocations: 136.9 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.7401, allocations: 0 / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001187/0.7413, allocations: 310.4 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.7413, allocations: 62.58 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.7414, allocations: 144.1 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.7415, allocations: 31.05 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.7415, allocations: 107.2 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.7415, allocations: 21.83 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.7416, allocations: 31.25 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.453e-05/0.7417, allocations: 325 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.7418, allocations: 42.64 kB / 1.093 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.742, allocations: 81.95 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.7422, allocations: 119.7 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.7422, allocations: 1.469 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003767/0.7426, allocations: 165.1 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7427, allocations: 5.125 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7427, allocations: 2.703 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7427, allocations: 2.125 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.7428, allocations: 23.25 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.7429, allocations: 2.828 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.743, allocations: 14 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.743, allocations: 8.953 kB / 1.094 GB, free: 0.8047 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 7.736e-05/0.7431, allocations: 132.2 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.7431, allocations: 13.67 kB / 1.094 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.7432, allocations: 12.33 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.7432, allocations: 1.031 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7432, allocations: 1.094 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.7432, allocations: 0.75 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.7442, allocations: 0.5236 MB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.7442, allocations: 1.891 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.7443, allocations: 12.11 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7443, allocations: 0.9062 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.7444, allocations: 9.406 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.7444, allocations: 4.875 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7444, allocations: 3.984 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008141/0.7452, allocations: 332.4 kB / 1.095 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.7453, allocations: 92.39 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.7453, allocations: 2.516 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.7456, allocations: 24.42 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.7456, allocations: 10.83 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.7457, allocations: 8.797 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.566e-05/0.7457, allocations: 107.8 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7457, allocations: 0 / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000365/0.7461, allocations: 46.11 kB / 1.095 GB, free: 15.88 MB / 0.8731 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.001379/0.7475, allocations: 0.9356 MB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005844/0.7481, allocations: 144.6 kB / 1.096 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7481, allocations: 0.9062 kB / 1.096 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.7485, allocations: 96.64 kB / 1.096 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.7488, allocations: 13.39 kB / 1.096 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.7512, allocations: 1.769 MB / 1.098 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.7514, allocations: 0.6974 MB / 1.099 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.889e-05/0.7515, allocations: 9.844 kB / 1.099 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.7516, allocations: 36.72 kB / 1.099 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.7516, allocations: 0 / 1.099 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.7714, allocations: 3.474 MB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/8.26, allocations: 13.34 kB / 1.102 GB, free: 12.37 MB / 0.8731 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