Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00237/0.00237, allocations: 209.7 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.88/2.88, allocations: 476.8 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.08 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3502, allocations: 170 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003051/0.3532, allocations: 1.671 MB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.355, allocations: 0.9015 MB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.355, allocations: 0 / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.3551, allocations: 11.86 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.123e-05/0.3552, allocations: 23.73 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007191/0.3559, allocations: 195.5 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.3561, allocations: 163.5 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.3562, allocations: 13.3 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.3564, allocations: 79.75 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3565, allocations: 75.72 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.3565, allocations: 12 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.3568, allocations: 143.8 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.3569, allocations: 35.91 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.22e-05/0.357, allocations: 71.62 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.3573, allocations: 219.4 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3573, allocations: 0 / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3573, allocations: 0 / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3573, allocations: 0 / 1.287 GB, free: 7.98 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.000859/0.3582, allocations: 492.3 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3582, allocations: 8.031 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.3583, allocations: 34.75 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000715/0.359, allocations: 80.77 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.3593, allocations: 162.2 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.3593, allocations: 4.375 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.3593, allocations: 12.38 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.3598, allocations: 149.7 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3599, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3599, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3599, allocations: 4 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.3603, allocations: 99.91 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000841/0.3611, allocations: 363.5 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.3615, allocations: 98.5 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.3618, allocations: 80.78 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.3618, allocations: 12.08 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004044/0.3622, allocations: 139.2 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3622, allocations: 0 / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.00111/0.3633, allocations: 309.3 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.3634, allocations: 63.39 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.3636, allocations: 150.9 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.3636, allocations: 25.7 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.3637, allocations: 100.4 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.3637, allocations: 23.8 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.3637, allocations: 33.7 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3639, allocations: 326.8 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.364, allocations: 43.97 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.3642, allocations: 81.11 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.3645, allocations: 121 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3645, allocations: 0 / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003738/0.3648, allocations: 161.5 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3649, allocations: 4 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3649, allocations: 4 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.3649, allocations: 3.984 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.3651, allocations: 23.98 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3651, allocations: 0 / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3652, allocations: 15.94 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.3652, allocations: 7.938 kB / 1.29 GB, free: 4.547 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 0.0001212/0.3653, allocations: 132.7 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.3654, allocations: 7.953 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.3654, allocations: 16.7 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3654, allocations: 0 / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3654, allocations: 0 / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3654, allocations: 4.375 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3665, allocations: 0.5089 MB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3665, allocations: 96 / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.3666, allocations: 11.98 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.3666, allocations: 3.984 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3666, allocations: 8.094 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3666, allocations: 11.88 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3666, allocations: 0 / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.3674, allocations: 323.3 kB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.3674, allocations: 11.91 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.3675, allocations: 11.98 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.3677, allocations: 27.91 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.3677, allocations: 7.984 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3677, allocations: 0 / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001192/0.3679, allocations: 126.7 kB / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3679, allocations: 0 / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003578/0.3682, allocations: 51.86 kB / 1.291 GB, free: 3.227 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.00138/0.3696, allocations: 0.9161 MB / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005538/0.3702, allocations: 139.8 kB / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3702, allocations: 0 / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.3705, allocations: 92.11 kB / 1.292 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.3708, allocations: 14.12 kB / 1.292 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.3735, allocations: 1.8 MB / 1.294 GB, free: 160 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.3738, allocations: 0.7002 MB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.277e-05/0.3739, allocations: 8.844 kB / 1.295 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.3739, allocations: 47.34 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.3739, allocations: 0 / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.4066, allocations: 3.731 MB / 1.298 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.6, allocations: 6.812 kB / 1.298 GB, free: 11.78 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.738633049000782]