Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.496/2.496, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 63.91 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7954/0.7972, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002309/0.7995, allocations: 1.608 MB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.8007, allocations: 0.793 MB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.8007, allocations: 1.625 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.8007, allocations: 13.17 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.11e-05/0.8008, allocations: 20 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.8013, allocations: 145.8 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.8014, allocations: 139.6 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.421e-05/0.8015, allocations: 24.59 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.8016, allocations: 62.67 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.791e-05/0.8017, allocations: 70.7 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.8017, allocations: 11.47 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.8019, allocations: 105.1 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.802, allocations: 33.16 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.802, allocations: 55.02 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.8022, allocations: 198.7 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8022, allocations: 0 / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8023, allocations: 0 / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8023, allocations: 0.9375 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005804/0.8028, allocations: 487.4 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.8029, allocations: 9.438 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.445e-05/0.8029, allocations: 38.81 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.8029, allocations: 11.08 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.354e-05/0.803, allocations: 181.3 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.803, allocations: 3.625 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.8031, allocations: 12.77 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.8033, allocations: 108.9 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.8033, allocations: 1.062 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.8033, allocations: 0 / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.8033, allocations: 1.625 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.8035, allocations: 61.77 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006915/0.8042, allocations: 375.3 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.8044, allocations: 66.25 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.8045, allocations: 46.19 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.8045, allocations: 1.656 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.8047, allocations: 101 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 2.003e-06/0.8047, allocations: 4.922 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0005344/0.8052, allocations: 217.7 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.8053, allocations: 54.03 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.464e-05/0.8053, allocations: 146.6 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.8054, allocations: 39.52 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.8054, allocations: 100.8 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.8054, allocations: 26.52 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.8055, allocations: 36.7 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.127e-05/0.8055, allocations: 323.4 kB / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.8056, allocations: 36.55 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.8057, allocations: 80.36 kB / 1.277 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.806, allocations: 111.9 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.806, allocations: 1 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003015/0.8063, allocations: 155.5 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.8063, allocations: 5.312 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8063, allocations: 2.75 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.8063, allocations: 6.812 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.8064, allocations: 19.97 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.8064, allocations: 3.344 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.8065, allocations: 19.61 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.8065, allocations: 9.859 kB / 1.277 GB, free: 3.41 MB / 0.9981 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.499e-05/0.8066, allocations: 125.7 kB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.8066, allocations: 9.641 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.8067, allocations: 12.34 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8067, allocations: 6.078 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8067, allocations: 0.875 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8067, allocations: 0 / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.8072, allocations: 461.7 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8072, allocations: 0.75 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.8072, allocations: 12.2 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.8072, allocations: 0.9062 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.8072, allocations: 5.281 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8072, allocations: 0.8125 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.8072, allocations: 0 / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.8076, allocations: 270.2 kB / 1.278 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.8076, allocations: 92.09 kB / 1.278 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.8076, allocations: 1.469 kB / 1.278 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.8078, allocations: 12.38 kB / 1.278 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.8078, allocations: 11.75 kB / 1.278 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.8078, allocations: 3.562 kB / 1.278 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.8078, allocations: 111.4 kB / 1.278 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8078, allocations: 0 / 1.278 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002921/0.8081, allocations: 48.52 kB / 1.278 GB, free: 2.5 MB / 0.9981 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.0007095/0.8088, allocations: 0.8701 MB / 1.279 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.8092, allocations: 108.2 kB / 1.279 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8092, allocations: 0 / 1.279 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.8093, allocations: 52.59 kB / 1.279 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.8095, allocations: 20.97 kB / 1.279 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.8112, allocations: 1.72 MB / 1.281 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.8115, allocations: 0.7 MB / 1.282 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.8115, allocations: 9.828 kB / 1.282 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.8116, allocations: 28.58 kB / 1.282 GB, free: 15.55 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.8116, allocations: 0 / 1.282 GB, free: 15.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.8362, allocations: 3.416 MB / 1.285 GB, free: 14.99 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/7.768, allocations: 6.812 kB / 1.285 GB, free: 14.98 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.066898412000228]