Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.0009034/0.0009034, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001643/0.001643, allocations: 165.9 kB / 22.45 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.9295/0.9295, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.667/1.667, allocations: 359 MB / 0.6037 GB, free: 11.12 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.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.704e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002481/0.002508, allocations: 1.533 MB / 0.952 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003563, allocations: 0.7911 MB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.003624, allocations: 4 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.003659, allocations: 3.938 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.101e-05/0.00371, allocations: 15.81 kB / 0.9528 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.004329, allocations: 167.3 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.00446, allocations: 103.7 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.004549, allocations: 8 kB / 0.953 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.004715, allocations: 67.88 kB / 0.9531 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.004785, allocations: 47.86 kB / 0.9531 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.004805, allocations: 8 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.005061, allocations: 139.7 kB / 0.9533 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.005085, allocations: 27.89 kB / 0.9533 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.005125, allocations: 31.97 kB / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.005357, allocations: 199.4 kB / 0.9535 GB, free: 396 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.00536, allocations: 0 / 0.9535 GB, free: 396 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005361, allocations: 3.938 kB / 0.9535 GB, free: 392 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005366, allocations: 0 / 0.9535 GB, free: 392 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000538/0.005904, allocations: 389.2 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.005941, allocations: 12.03 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.005972, allocations: 34.75 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.006224, allocations: 56.8 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.006428, allocations: 132.6 kB / 0.9541 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.00645, allocations: 12.36 kB / 0.9541 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.006463, allocations: 4.375 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.00665, allocations: 78.2 kB / 0.9542 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.006657, allocations: 192 / 0.9542 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.006671, allocations: 16.05 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.006675, allocations: 0 / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/0.006764, allocations: 47.97 kB / 0.9543 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.007203, allocations: 283.9 kB / 0.9545 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.007305, allocations: 62.52 kB / 0.9546 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.007367, allocations: 40.83 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.007385, allocations: 4 kB / 0.9547 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.007517, allocations: 91.36 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.083e-06/0.007518, allocations: 0 / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0003328/0.007851, allocations: 189.7 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.007884, allocations: 55.34 kB / 0.955 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.007965, allocations: 133.8 kB / 0.9551 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.007978, allocations: 25.7 kB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.008024, allocations: 96.12 kB / 0.9552 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.008042, allocations: 23.84 kB / 0.9552 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.008079, allocations: 29.7 kB / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.008159, allocations: 326.8 kB / 0.9556 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/0.008208, allocations: 23.98 kB / 0.9556 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.008273, allocations: 66.64 kB / 0.9557 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.008381, allocations: 100.2 kB / 0.9558 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.008384, allocations: 7.938 kB / 0.9558 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001578/0.008542, allocations: 133.4 kB / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.008556, allocations: 10.75 kB / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.008561, allocations: 0 / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.008573, allocations: 4 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.008635, allocations: 11.98 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.008641, allocations: 4 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.567e-05/0.008677, allocations: 11.92 kB / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.008688, allocations: 12.09 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,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 6.891e-05/0.008757, allocations: 121.8 kB / 0.9561 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.008769, allocations: 7.953 kB / 0.9561 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.008792, allocations: 12.42 kB / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.008794, allocations: 0 / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.008798, allocations: 0 / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.008802, allocations: 4 kB / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.009173, allocations: 405.4 kB / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.009174, allocations: 0 / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.009192, allocations: 4 kB / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.009195, allocations: 4.031 kB / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.009205, allocations: 3.984 kB / 0.9565 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.009207, allocations: 400 / 0.9565 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.009207, allocations: 4 kB / 0.9565 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.009423, allocations: 259.3 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.009432, allocations: 11.83 kB / 0.9567 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.009448, allocations: 8 kB / 0.9568 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.009498, allocations: 7.984 kB / 0.9568 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.009528, allocations: 0 / 0.9568 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.00954, allocations: 11.98 kB / 0.9568 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.009578, allocations: 98.08 kB / 0.9569 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009578, allocations: 0 / 0.9569 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002129/0.009791, allocations: 47.86 kB / 0.9569 GB, free: 12.61 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000578/0.01037, allocations: 0.8437 MB / 0.9577 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.01058, allocations: 87.89 kB / 0.9578 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01058, allocations: 3.938 kB / 0.9578 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/0.01065, allocations: 47.95 kB / 0.9579 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.01084, allocations: 13.89 kB / 0.9579 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.01239, allocations: 1.59 MB / 0.9594 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.831e-05/0.01244, allocations: 75.33 kB / 0.9595 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.01247, allocations: 8 kB / 0.9595 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.01251, allocations: 28.48 kB / 0.9595 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.01252, allocations: 0 / 0.9595 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.02978, allocations: 3.772 MB / 0.9632 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.353, allocations: 10.36 kB / 0.9632 GB, free: 6.141 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_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_Yun2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.40908488072455]