Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.0008343/0.0008343, 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.0008149/0.0008149, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9417/0.9417, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.766/1.766, allocations: 359 MB / 0.6037 GB, free: 11.13 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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.9505 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.742e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001794/0.001811, allocations: 1.51 MB / 0.952 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.002945, allocations: 0.7717 MB / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.003005, allocations: 0 / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.003035, allocations: 3.938 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.548e-05/0.003091, allocations: 15.8 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.003663, allocations: 143.5 kB / 0.9529 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.003768, allocations: 87.64 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.208e-05/0.00385, allocations: 8.172 kB / 0.953 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.003968, allocations: 51.89 kB / 0.953 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.004015, allocations: 35.88 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.004032, allocations: 8 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.004224, allocations: 135.7 kB / 0.9532 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.004246, allocations: 19.92 kB / 0.9532 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.00428, allocations: 27.91 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.004489, allocations: 167.6 kB / 0.9534 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004491, allocations: 4 kB / 0.9534 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004492, allocations: 0 / 0.9534 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.004497, allocations: 0 / 0.9534 GB, free: 0.5469 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004803/0.004977, allocations: 351.4 kB / 0.9537 GB, free: 172 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.005017, allocations: 16.02 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.005048, allocations: 30.75 kB / 0.9538 GB, free: 116 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.005233, allocations: 32.88 kB / 0.9538 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.00541, allocations: 129.7 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.005436, allocations: 4.375 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.00545, allocations: 4.375 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.005581, allocations: 70.22 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.005589, allocations: 192 / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.0056, allocations: 3.938 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.005604, allocations: 0 / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.301e-05/0.005677, allocations: 39.97 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.006048, allocations: 283.8 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.226e-05/0.00613, allocations: 50.48 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.006178, allocations: 28.97 kB / 0.9544 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.006196, allocations: 4 kB / 0.9544 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.006299, allocations: 75.38 kB / 0.9545 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.0063, allocations: 0 / 0.9545 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002668/0.006567, allocations: 145.5 kB / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.006599, allocations: 59.39 kB / 0.9547 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.006669, allocations: 125.7 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.00668, allocations: 25.7 kB / 0.9548 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.006719, allocations: 96.19 kB / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.006734, allocations: 15.91 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.006771, allocations: 29.7 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.006846, allocations: 326.8 kB / 0.9552 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.502e-05/0.006891, allocations: 19.98 kB / 0.9553 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.419e-05/0.006945, allocations: 50.5 kB / 0.9553 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.00718, allocations: 78.8 kB / 0.9554 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007182, allocations: 0 / 0.9554 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001387/0.007321, allocations: 117.5 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.007332, allocations: 4 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.007341, allocations: 0 / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.007353, allocations: 4 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.505e-05/0.007408, allocations: 16.05 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.007413, allocations: 0 / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.007445, allocations: 23.77 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.007455, allocations: 4 kB / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.293e-05/0.007518, allocations: 121.8 kB / 0.9557 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.007529, allocations: 7.953 kB / 0.9557 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.007549, allocations: 8.438 kB / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007551, allocations: 4 kB / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.007555, allocations: 0 / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007558, allocations: 0 / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.007838, allocations: 349.5 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.00784, allocations: 3.984 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.007856, allocations: 4 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.007857, allocations: 0 / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.007867, allocations: 4 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.007869, allocations: 4 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.00787, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.008024, allocations: 211.4 kB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.008033, allocations: 11.95 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.008043, allocations: 0 / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.008087, allocations: 11.98 kB / 0.9563 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.008119, allocations: 7.875 kB / 0.9563 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.008127, allocations: 11.92 kB / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.008161, allocations: 95.27 kB / 0.9564 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008161, allocations: 0 / 0.9564 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002116/0.008373, allocations: 39.94 kB / 0.9564 GB, free: 13.15 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0005114/0.008884, allocations: 0.8239 MB / 0.9572 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.009025, allocations: 64.22 kB / 0.9573 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009027, allocations: 0 / 0.9573 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.598e-05/0.009083, allocations: 40.06 kB / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.009264, allocations: 13.81 kB / 0.9573 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.01028, allocations: 1.493 MB / 0.9588 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.428e-05/0.01033, allocations: 75.33 kB / 0.9589 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.01035, allocations: 0 / 0.9589 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.01039, allocations: 28.48 kB / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of SimCode: time 3.61e-07/0.01039, allocations: 0 / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.02565, allocations: 3.393 MB / 0.9622 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/6.827, allocations: 3.344 kB / 0.9622 GB, free: 7.238 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_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_Haldi2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.160396682098508]