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.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.001382/0.001382, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.0014/0.0014, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 179] 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.453/2.453, allocations: 476.7 MB / 0.7628 GB, free: 15.19 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.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 0.001824/0.001824, allocations: 75.88 kB / 1.107 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7996/0.8014, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002177/0.8036, allocations: 1.529 MB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.8047, allocations: 0.743 MB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.8048, allocations: 0.75 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.8048, allocations: 9.891 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.8048, allocations: 14.77 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.8053, allocations: 120.6 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.8054, allocations: 81.23 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.632e-05/0.8055, allocations: 13.77 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.434e-05/0.8056, allocations: 30.81 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.8056, allocations: 41.16 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.8057, allocations: 6.312 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.8059, allocations: 106.5 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.8059, allocations: 14.45 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.8059, allocations: 43.66 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.8061, allocations: 135.5 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.8061, allocations: 0 / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8061, allocations: 0 / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8061, allocations: 1.094 kB / 1.274 GB, free: 5.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004801/0.8066, allocations: 422.5 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.8066, allocations: 9.656 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.507e-05/0.8067, allocations: 34.11 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.8067, allocations: 12.05 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.433e-05/0.8068, allocations: 176.8 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.8068, allocations: 5.047 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.8068, allocations: 4.188 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.8069, allocations: 71.42 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.807, allocations: 0 / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.807, allocations: 1 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.807, allocations: 0.9688 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.8071, allocations: 40.12 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.8075, allocations: 322.8 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.8076, allocations: 44.3 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.8077, allocations: 26.23 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.8077, allocations: 4.938 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.8079, allocations: 90.12 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.8079, allocations: 3.938 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003521/0.8082, allocations: 136.9 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.8083, allocations: 53.55 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.278e-05/0.8083, allocations: 124.4 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.8084, allocations: 27.08 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.8084, allocations: 95.94 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.8084, allocations: 14.11 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.8084, allocations: 27.62 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.951e-05/0.8085, allocations: 323.4 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.8086, allocations: 22.19 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.785e-05/0.8087, allocations: 55.19 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.8088, allocations: 71.58 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.8088, allocations: 0.875 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002176/0.809, allocations: 109.9 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.809, allocations: 5.969 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.809, allocations: 0.9375 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8091, allocations: 4.906 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.8091, allocations: 14.45 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.8091, allocations: 2.203 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.264e-05/0.8092, allocations: 12.47 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.8092, allocations: 3.625 kB / 1.276 GB, free: 3.906 MB / 0.9981 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 5.559e-05/0.8093, allocations: 119.7 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.8093, allocations: 7.266 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.8093, allocations: 20.2 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.8093, allocations: 0.875 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.8093, allocations: 1.188 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.8093, allocations: 0 / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.8097, allocations: 390.4 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8097, allocations: 0.625 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.8097, allocations: 5.156 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8097, allocations: 0.75 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.8097, allocations: 3.719 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8097, allocations: 7.938 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8097, allocations: 1.094 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.81, allocations: 218.7 kB / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.81, allocations: 79.78 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.81, allocations: 5.766 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.8101, allocations: 8.891 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.8101, allocations: 8.188 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.8101, allocations: 4.156 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.8102, allocations: 91.3 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8102, allocations: 0.875 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002734/0.8104, allocations: 44.67 kB / 1.277 GB, free: 3.035 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: 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.0006155/0.8111, allocations: 0.8051 MB / 1.278 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.8113, allocations: 63.66 kB / 1.278 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.8113, allocations: 3.938 kB / 1.278 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.8114, allocations: 34.02 kB / 1.278 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.8116, allocations: 12.86 kB / 1.278 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.8129, allocations: 1.5 MB / 1.28 GB, free: 16.97 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.8132, allocations: 0.6951 MB / 1.28 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.413e-05/0.8132, allocations: 7.5 kB / 1.28 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.8133, allocations: 22.56 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.8133, allocations: 1 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.8391, allocations: 2.639 MB / 1.283 GB, free: 15.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.069/7.908, allocations: 4.438 kB / 1.283 GB, free: 15.74 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 13.128097373000855]