Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.001465/0.001465, allocations: 109 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.001488/0.001488, 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.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.16 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.521/2.521, allocations: 476.7 MB / 0.7628 GB, free: 15.12 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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63.89 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.827, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002229/0.8292, allocations: 1.528 MB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.8302, allocations: 0.7419 MB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.8303, allocations: 0 / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.8303, allocations: 5.062 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.8304, allocations: 14.17 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.8308, allocations: 129.7 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.8309, allocations: 69.83 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.652e-05/0.831, allocations: 18.69 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.603e-05/0.8311, allocations: 34.22 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.935e-05/0.8311, allocations: 36.52 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.8312, allocations: 11.02 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.8313, allocations: 104.6 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.8314, allocations: 18.36 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.8314, allocations: 32.61 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.8316, allocations: 136.3 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8316, allocations: 4 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8316, allocations: 0.9688 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.8316, allocations: 0 / 1.274 GB, free: 5.887 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.0004724/0.8321, allocations: 422.3 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.8321, allocations: 8.688 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.505e-05/0.8322, allocations: 38.42 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.8322, allocations: 12.08 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.498e-05/0.8322, allocations: 177.5 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.8323, allocations: 2.656 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.8323, allocations: 5.125 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.8324, allocations: 73.56 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.8325, allocations: 3.938 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.8325, allocations: 0.9688 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.8325, allocations: 1.062 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.8326, allocations: 35.05 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.833, allocations: 319.1 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.8332, allocations: 47.77 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.341e-05/0.8332, allocations: 26.36 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.8332, allocations: 0.9062 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.8334, allocations: 93.3 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.8334, allocations: 0 / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003517/0.8338, allocations: 133.1 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.8338, allocations: 57.94 kB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.8339, allocations: 124.1 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.8339, allocations: 30.98 kB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.8339, allocations: 91.94 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.8339, allocations: 11.33 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.8339, allocations: 30.83 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.585e-05/0.834, allocations: 324 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.8341, allocations: 21.64 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.8341, allocations: 50.77 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.8343, allocations: 79.47 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8343, allocations: 0.6875 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002082/0.8345, allocations: 109.7 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.8345, allocations: 5 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8345, allocations: 6.047 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.8345, allocations: 4.875 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.8346, allocations: 12.52 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.8346, allocations: 1.016 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.219e-05/0.8347, allocations: 13.14 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.8347, allocations: 6.672 kB / 1.276 GB, free: 3.855 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.485e-05/0.8347, allocations: 127.7 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.8348, allocations: 11.73 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.8348, allocations: 14.64 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8348, allocations: 1.219 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.8348, allocations: 3.406 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.8348, allocations: 0 / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.8351, allocations: 380.9 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8351, allocations: 0 / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.8352, allocations: 10.56 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8352, allocations: 0.625 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.8352, allocations: 5.719 kB / 1.277 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8352, allocations: 8.594 kB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8352, allocations: 0.8438 kB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.8354, allocations: 205.7 kB / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.8354, allocations: 78.89 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.8354, allocations: 0.9062 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.8355, allocations: 12.61 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.8356, allocations: 8.844 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.8356, allocations: 6.391 kB / 1.277 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.354e-05/0.8356, allocations: 93.09 kB / 1.277 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8356, allocations: 4.719 kB / 1.277 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002714/0.8359, allocations: 40.36 kB / 1.277 GB, free: 2.992 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.0005759/0.8364, allocations: 0.8022 MB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.8367, allocations: 72.69 kB / 1.278 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8367, allocations: 0.9375 kB / 1.278 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.8367, allocations: 33.38 kB / 1.278 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.837, allocations: 13.3 kB / 1.278 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.8383, allocations: 1.509 MB / 1.28 GB, free: 16.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.8386, allocations: 0.6965 MB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.8386, allocations: 3.594 kB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.8387, allocations: 21.89 kB / 1.28 GB, free: 16.2 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.8387, allocations: 0 / 1.28 GB, free: 16.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.8643, allocations: 2.645 MB / 1.283 GB, free: 15.69 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/7.731, allocations: 15.17 kB / 1.283 GB, free: 15.68 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.0512020139995]