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.0008851/0.0008851, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001008/0.001008, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.9161/0.9161, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.644/1.644, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.978e-05, allocations: 9.172 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002667/0.002687, allocations: 1.638 MB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.004197, allocations: 0.8417 MB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.906e-05/0.004276, allocations: 7.938 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.004315, allocations: 15.86 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.004391, allocations: 23.73 kB / 0.953 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.005166, allocations: 187.2 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.005369, allocations: 159.5 kB / 0.9533 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.005475, allocations: 21.23 kB / 0.9533 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.005692, allocations: 99.83 kB / 0.9534 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.005794, allocations: 59.84 kB / 0.9535 GB, free: 456 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.005823, allocations: 20 kB / 0.9535 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.006055, allocations: 139.7 kB / 0.9536 GB, free: 296 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.006086, allocations: 43.81 kB / 0.9537 GB, free: 252 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.00613, allocations: 43.89 kB / 0.9537 GB, free: 208 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.006375, allocations: 247.3 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.006377, allocations: 0 / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.02e-07/0.006378, allocations: 0 / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.006382, allocations: 0 / 0.9539 GB, free: 15.96 MB / 0.9167 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.0005292/0.006911, allocations: 493.7 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.006946, allocations: 12.03 kB / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.006977, allocations: 34.75 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/0.007298, allocations: 80.77 kB / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.007471, allocations: 149.6 kB / 0.9547 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.007489, allocations: 8.375 kB / 0.9547 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.007505, allocations: 4.375 kB / 0.9547 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.007753, allocations: 142.1 kB / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.00776, allocations: 4.125 kB / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.007772, allocations: 4.125 kB / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.007776, allocations: 0 / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.007971, allocations: 103.9 kB / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.008407, allocations: 327.7 kB / 0.9552 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.008593, allocations: 106.4 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.008739, allocations: 80.78 kB / 0.9554 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.008756, allocations: 112 / 0.9554 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.008963, allocations: 147.2 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 8.32e-07/0.008964, allocations: 0 / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0006039/0.009568, allocations: 313.6 kB / 0.9558 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.009599, allocations: 55.5 kB / 0.9559 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.338e-05/0.009692, allocations: 158 kB / 0.9561 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.009708, allocations: 29.7 kB / 0.9561 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.009752, allocations: 108.3 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.009768, allocations: 23.8 kB / 0.9562 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.009806, allocations: 33.7 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.009887, allocations: 326.8 kB / 0.9566 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.009954, allocations: 39.91 kB / 0.9566 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.332e-05/0.01004, allocations: 81.11 kB / 0.9567 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.01023, allocations: 125 kB / 0.9568 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01024, allocations: 0 / 0.9568 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002026/0.01044, allocations: 161.5 kB / 0.9569 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.01045, allocations: 8.125 kB / 0.9569 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01046, allocations: 4 kB / 0.957 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.01047, allocations: 4 kB / 0.957 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.01055, allocations: 23.92 kB / 0.957 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.01055, allocations: 0 / 0.957 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.0106, allocations: 19.94 kB / 0.957 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.01061, allocations: 4 kB / 0.957 GB, free: 12.56 MB / 0.9167 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.345e-05/0.01069, allocations: 125.8 kB / 0.9571 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.01071, allocations: 19.91 kB / 0.9571 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.01073, allocations: 12.78 kB / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.01073, allocations: 0 / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.01074, allocations: 0 / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01074, allocations: 3.938 kB / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.0113, allocations: 0.4897 MB / 0.9576 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01131, allocations: 0 / 0.9576 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.01134, allocations: 15.97 kB / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01134, allocations: 0 / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.01135, allocations: 0 / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01135, allocations: 0 / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01136, allocations: 4 kB / 0.9577 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.01175, allocations: 343.2 kB / 0.958 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.01176, allocations: 15.89 kB / 0.958 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.01178, allocations: 4 kB / 0.958 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.01187, allocations: 27.97 kB / 0.958 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.01191, allocations: 7.984 kB / 0.958 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.01192, allocations: 7.922 kB / 0.958 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.01198, allocations: 117 kB / 0.9582 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01198, allocations: 0 / 0.9582 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002125/0.01219, allocations: 43.94 kB / 0.9582 GB, free: 11.26 MB / 0.9167 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.0007663/0.01295, allocations: 0.9297 MB / 0.9591 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.01323, allocations: 151.8 kB / 0.9592 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01323, allocations: 0 / 0.9592 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.01339, allocations: 84.17 kB / 0.9593 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.01357, allocations: 18.75 kB / 0.9593 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.015, allocations: 1.787 MB / 0.9611 GB, free: 8.18 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.573e-05/0.01505, allocations: 89.31 kB / 0.9612 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.775e-05/0.01509, allocations: 8.734 kB / 0.9612 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.01514, allocations: 40.47 kB / 0.9612 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.01514, allocations: 0 / 0.9612 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.03203, allocations: 4.342 MB / 0.9655 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.095/7.127, allocations: 5.719 kB / 0.9655 GB, free: 3.824 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.196273380890489]