Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.001185/0.001185, 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.00114/0.00114, 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.281/1.281, allocations: 225.6 MB / 249.3 MB, free: 3.172 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.504/2.504, allocations: 476.7 MB / 0.7628 GB, free: 15.15 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.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 63.89 kB / 1.107 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8326/0.8344, allocations: 168.7 MB / 1.271 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002335/0.8367, allocations: 1.533 MB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.8379, allocations: 0.743 MB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.8379, allocations: 0.8438 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.838, allocations: 5.109 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.838, allocations: 10.2 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.8385, allocations: 122 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.8386, allocations: 84.61 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.8387, allocations: 18.91 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.8387, allocations: 29.25 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.8388, allocations: 42.67 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.8388, allocations: 6.312 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.839, allocations: 104.6 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.839, allocations: 14.02 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.8391, allocations: 37.3 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.8393, allocations: 136.2 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8393, allocations: 1.062 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8393, allocations: 0 / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8393, allocations: 0 / 1.274 GB, free: 5.949 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.0005364/0.8398, allocations: 425.5 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.8399, allocations: 9.625 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.8399, allocations: 32.83 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.8399, allocations: 8.516 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.174e-05/0.84, allocations: 174.9 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.84, allocations: 10.94 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.8401, allocations: 4.312 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.8402, allocations: 72.05 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8403, allocations: 0 / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.8403, allocations: 5.062 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.8403, allocations: 4.938 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.8404, allocations: 36.11 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.8409, allocations: 322.1 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.841, allocations: 45.66 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.661e-05/0.8411, allocations: 29.61 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.8411, allocations: 0.8125 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.8413, allocations: 86.23 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.8413, allocations: 0 / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003641/0.8416, allocations: 136.1 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.8416, allocations: 54.47 kB / 1.276 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.8417, allocations: 130.9 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.8417, allocations: 27.27 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.8418, allocations: 92.27 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.8418, allocations: 16.36 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.8418, allocations: 29.42 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.8419, allocations: 327.2 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.2e-05/0.842, allocations: 22.89 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.33e-05/0.842, allocations: 47.78 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.8422, allocations: 77.16 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8422, allocations: 0 / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002197/0.8424, allocations: 116.2 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.8424, allocations: 5.031 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.8424, allocations: 0.8438 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.8424, allocations: 1.406 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.8425, allocations: 17.59 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.8425, allocations: 0.9062 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.8426, allocations: 16.12 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.8426, allocations: 7.844 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.807e-05/0.8427, allocations: 120.1 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.8427, allocations: 8.594 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.8427, allocations: 9.625 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.8427, allocations: 4.938 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.8427, allocations: 0.9688 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.8427, allocations: 0.9375 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.843, allocations: 388.7 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.843, allocations: 0 / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.8431, allocations: 4.125 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8431, allocations: 3.938 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.8431, allocations: 7.516 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8431, allocations: 3.938 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8431, allocations: 0.7812 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.8433, allocations: 212.2 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.8433, allocations: 78.98 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.8434, allocations: 0.8125 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.8434, allocations: 16.64 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.8435, allocations: 8.031 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.8435, allocations: 2.219 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.117e-05/0.8435, allocations: 92.17 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8435, allocations: 0.9688 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000268/0.8438, allocations: 43.72 kB / 1.277 GB, free: 3.047 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.0006001/0.8444, allocations: 0.7994 MB / 1.278 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.8446, allocations: 69.64 kB / 1.278 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8446, allocations: 0.5625 kB / 1.278 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.8447, allocations: 46.34 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.0002265/0.8449, allocations: 12.83 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.8462, allocations: 1.502 MB / 1.28 GB, free: 16.97 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.8465, allocations: 0.6891 MB / 1.28 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.8465, allocations: 9.203 kB / 1.28 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.8465, allocations: 24.64 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.8465, allocations: 3.938 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.8711, allocations: 2.638 MB / 1.283 GB, free: 15.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.908, allocations: 6.359 kB / 1.283 GB, free: 15.74 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.200909917999525]