Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.001631/0.001631, allocations: 106 kB / 16.45 MB, free: 6.445 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.001796/0.001796, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.54/1.54, allocations: 225.6 MB / 247.8 MB, free: 3.715 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.803/2.803, allocations: 476.7 MB / 0.7611 GB, free: 15.67 MB / 0.6075 GB " [Timeout remaining time 176] 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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 79.81 kB / 1.104 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 168.7 MB / 1.269 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.0025/1.052, allocations: 1.512 MB / 1.27 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00124/1.053, allocations: 0.7395 MB / 1.271 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/1.053, allocations: 0 / 1.271 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/1.053, allocations: 9.719 kB / 1.271 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.105e-05/1.053, allocations: 13.78 kB / 1.271 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/1.054, allocations: 116.6 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/1.054, allocations: 85.12 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/1.054, allocations: 18.17 kB / 1.271 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.198e-05/1.054, allocations: 30.5 kB / 1.271 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/1.054, allocations: 45.81 kB / 1.271 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/1.054, allocations: 6.094 kB / 1.271 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/1.054, allocations: 108.5 kB / 1.271 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/1.055, allocations: 15.39 kB / 1.271 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/1.055, allocations: 35.39 kB / 1.271 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/1.055, allocations: 136.2 kB / 1.272 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.055, allocations: 0 / 1.272 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.495e-06/1.055, allocations: 0.8438 kB / 1.272 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.062e-06/1.055, allocations: 0 / 1.272 GB, free: 5.906 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.0005865/1.055, allocations: 422 kB / 1.272 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.055, allocations: 13.69 kB / 1.272 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/1.056, allocations: 37.72 kB / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/1.056, allocations: 9.125 kB / 1.272 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.911e-05/1.056, allocations: 169.4 kB / 1.272 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/1.056, allocations: 7.156 kB / 1.272 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/1.056, allocations: 4.703 kB / 1.272 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/1.056, allocations: 68.3 kB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.056, allocations: 0 / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/1.056, allocations: 1.484 kB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/1.056, allocations: 1 kB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/1.056, allocations: 48.05 kB / 1.272 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/1.057, allocations: 314.7 kB / 1.273 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/1.057, allocations: 43.3 kB / 1.273 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.125e-05/1.057, allocations: 34.7 kB / 1.273 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/1.057, allocations: 1.969 kB / 1.273 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/1.057, allocations: 84.03 kB / 1.273 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/1.057, allocations: 0 / 1.273 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000377/1.057, allocations: 137.5 kB / 1.273 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/1.057, allocations: 54.2 kB / 1.273 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/1.057, allocations: 131.5 kB / 1.273 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/1.057, allocations: 27.36 kB / 1.273 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/1.057, allocations: 88.08 kB / 1.273 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/1.057, allocations: 16.36 kB / 1.273 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/1.058, allocations: 28.53 kB / 1.273 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.471e-05/1.058, allocations: 320.5 kB / 1.273 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/1.058, allocations: 26.5 kB / 1.273 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/1.058, allocations: 54.61 kB / 1.274 GB, free: 4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/1.058, allocations: 73.2 kB / 1.274 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.058, allocations: 0 / 1.274 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002209/1.058, allocations: 120.7 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.058, allocations: 5.141 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.058, allocations: 0.875 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.058, allocations: 2.5 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/1.058, allocations: 14.52 kB / 1.274 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/1.058, allocations: 1.922 kB / 1.274 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/1.058, allocations: 10.28 kB / 1.274 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/1.058, allocations: 10.89 kB / 1.274 GB, free: 3.875 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 7.135e-05/1.058, allocations: 124.6 kB / 1.274 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/1.058, allocations: 7.266 kB / 1.274 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/1.058, allocations: 12.36 kB / 1.274 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.058, allocations: 4.938 kB / 1.274 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/1.058, allocations: 0 / 1.274 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.058, allocations: 0 / 1.274 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/1.059, allocations: 382.6 kB / 1.274 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.059, allocations: 0.8125 kB / 1.274 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/1.059, allocations: 5.844 kB / 1.274 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.059, allocations: 4.938 kB / 1.274 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/1.059, allocations: 1.031 kB / 1.274 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.059, allocations: 4.812 kB / 1.274 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.059, allocations: 0 / 1.274 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/1.059, allocations: 215.6 kB / 1.275 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/1.059, allocations: 84.45 kB / 1.275 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/1.059, allocations: 1.812 kB / 1.275 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.563e-05/1.059, allocations: 13.3 kB / 1.275 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/1.059, allocations: 9.547 kB / 1.275 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/1.059, allocations: 1.688 kB / 1.275 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.924e-05/1.059, allocations: 97.39 kB / 1.275 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.059, allocations: 0 / 1.275 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003016/1.06, allocations: 44.19 kB / 1.275 GB, free: 3.012 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.000656/1.06, allocations: 0.7981 MB / 1.276 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002242/1.061, allocations: 66.16 kB / 1.276 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/1.061, allocations: 4.125 kB / 1.276 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/1.061, allocations: 37.61 kB / 1.276 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/1.061, allocations: 14.06 kB / 1.276 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/1.062, allocations: 1.501 MB / 1.277 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/1.063, allocations: 0.6902 MB / 1.278 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.785e-05/1.063, allocations: 5.953 kB / 1.278 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/1.063, allocations: 21.39 kB / 1.278 GB, free: 16.23 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/1.063, allocations: 3.938 kB / 1.278 GB, free: 16.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/1.088, allocations: 2.68 MB / 1.28 GB, free: 15.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/9.286, allocations: 6.406 kB / 1.28 GB, free: 15.73 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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: 15.69397710589692]