Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001323/0.001323, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001411/0.001411, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.533/1.533, allocations: 225.6 MB / 249.4 MB, free: 3.191 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.832/2.832, allocations: 476.7 MB / 0.7629 GB, free: 15.11 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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 59.91 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171/1.173, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.00325/1.177, allocations: 1.528 MB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001455/1.178, allocations: 0.7377 MB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/1.178, allocations: 0 / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/1.178, allocations: 5.641 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/1.178, allocations: 9.734 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006412/1.179, allocations: 129.9 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/1.179, allocations: 72.92 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/1.179, allocations: 17.34 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/1.179, allocations: 37.06 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.353e-05/1.179, allocations: 39.59 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/1.179, allocations: 7.031 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/1.18, allocations: 99.73 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/1.18, allocations: 24.09 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/1.18, allocations: 36.34 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/1.18, allocations: 134.6 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.18, allocations: 4.75 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.774e-06/1.18, allocations: 0 / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.41e-05/1.18, allocations: 0 / 1.274 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.0006557/1.181, allocations: 422.4 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.181, allocations: 9 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/1.181, allocations: 37.55 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/1.181, allocations: 13.31 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/1.181, allocations: 171.6 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/1.181, allocations: 10.88 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/1.181, allocations: 7.562 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/1.181, allocations: 68.12 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.181, allocations: 0 / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/1.181, allocations: 3.484 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/1.181, allocations: 0 / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/1.181, allocations: 39.28 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/1.182, allocations: 322.4 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/1.182, allocations: 48.38 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/1.182, allocations: 29.31 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/1.182, allocations: 4.969 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/1.182, allocations: 81.78 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/1.182, allocations: 0 / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004434/1.183, allocations: 137.4 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/1.183, allocations: 54.94 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.183, allocations: 121.4 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/1.183, allocations: 32.88 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/1.183, allocations: 87.17 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/1.183, allocations: 24.44 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/1.183, allocations: 26.53 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.458e-05/1.183, allocations: 321.7 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.938e-05/1.183, allocations: 30.5 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.061e-05/1.183, allocations: 42.98 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/1.183, allocations: 78.34 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.183, allocations: 0.625 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002446/1.184, allocations: 116 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.184, allocations: 7.594 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.184, allocations: 0.875 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.184, allocations: 0.8438 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/1.184, allocations: 15.47 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.184, allocations: 6.281 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/1.184, allocations: 8.812 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/1.184, allocations: 7.094 kB / 1.277 GB, free: 3.871 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.672e-05/1.184, allocations: 124.9 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/1.184, allocations: 11.17 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/1.184, allocations: 6.344 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.184, allocations: 2.328 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.184, allocations: 4 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.184, allocations: 0.9062 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/1.184, allocations: 386.5 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.184, allocations: 1.062 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/1.185, allocations: 4.734 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.185, allocations: 0 / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/1.185, allocations: 2.391 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.185, allocations: 12.25 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.185, allocations: 4 kB / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/1.185, allocations: 205.3 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/1.185, allocations: 79.95 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/1.185, allocations: 2.469 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/1.185, allocations: 7.391 kB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/1.185, allocations: 4.875 kB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/1.185, allocations: 3.344 kB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.169e-05/1.185, allocations: 104 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.185, allocations: 0 / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000339/1.185, allocations: 39.73 kB / 1.278 GB, free: 3.016 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.000733/1.186, allocations: 0.8124 MB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002594/1.186, allocations: 66.2 kB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.186, allocations: 0 / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/1.186, allocations: 32.58 kB / 1.278 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.0002825/1.187, allocations: 14.2 kB / 1.278 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/1.188, allocations: 1.523 MB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/1.189, allocations: 0.6915 MB / 1.281 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.948e-05/1.189, allocations: 5.219 kB / 1.281 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/1.189, allocations: 21.94 kB / 1.281 GB, free: 16.21 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/1.189, allocations: 0 / 1.281 GB, free: 16.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/1.217, allocations: 2.65 MB / 1.283 GB, free: 15.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/9.47, allocations: 4.906 kB / 1.283 GB, free: 15.7 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.728513036010554]