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.001873/0.001873, allocations: 105.6 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.002208/0.002208, 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.68/1.68, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.866/2.866, allocations: 476.7 MB / 0.7611 GB, free: 15.68 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.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.002053/0.002053, allocations: 67.89 kB / 1.104 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 168.7 MB / 1.269 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003031/1.016, allocations: 1.514 MB / 1.27 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001327/1.017, allocations: 0.7401 MB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/1.017, allocations: 0.75 kB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/1.017, allocations: 5.109 kB / 1.271 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.509e-05/1.017, allocations: 10.42 kB / 1.271 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/1.018, allocations: 125.7 kB / 1.271 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/1.018, allocations: 76.45 kB / 1.271 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/1.018, allocations: 18.11 kB / 1.271 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/1.018, allocations: 34.84 kB / 1.271 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/1.018, allocations: 40.81 kB / 1.271 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/1.018, allocations: 6.531 kB / 1.271 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/1.019, allocations: 109.2 kB / 1.271 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/1.019, allocations: 14.47 kB / 1.271 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/1.019, allocations: 35.56 kB / 1.271 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/1.019, allocations: 140.3 kB / 1.272 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.019, allocations: 0 / 1.272 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.019, allocations: 0.6875 kB / 1.272 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.302e-06/1.019, allocations: 0 / 1.272 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.0006678/1.02, allocations: 422.2 kB / 1.272 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/1.02, allocations: 10.06 kB / 1.272 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.554e-05/1.02, allocations: 41.22 kB / 1.272 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/1.02, allocations: 9.172 kB / 1.272 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/1.02, allocations: 173.8 kB / 1.272 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/1.02, allocations: 2.844 kB / 1.272 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/1.02, allocations: 5.172 kB / 1.272 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/1.02, allocations: 71.84 kB / 1.272 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.02, allocations: 0 / 1.272 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/1.02, allocations: 1.547 kB / 1.272 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/1.02, allocations: 5.219 kB / 1.272 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/1.02, allocations: 39.88 kB / 1.272 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/1.021, allocations: 314.5 kB / 1.273 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/1.021, allocations: 48.33 kB / 1.273 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/1.021, allocations: 33.3 kB / 1.273 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/1.021, allocations: 2.188 kB / 1.273 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/1.022, allocations: 80.47 kB / 1.273 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/1.022, allocations: 0.8125 kB / 1.273 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004895/1.022, allocations: 136.8 kB / 1.273 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.022, allocations: 58.02 kB / 1.273 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/1.022, allocations: 127.3 kB / 1.273 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/1.022, allocations: 27.97 kB / 1.273 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/1.022, allocations: 91.81 kB / 1.273 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/1.022, allocations: 11.81 kB / 1.273 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/1.023, allocations: 29.39 kB / 1.273 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/1.023, allocations: 323.2 kB / 1.273 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-05/1.023, allocations: 31.81 kB / 1.274 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/1.023, allocations: 50.23 kB / 1.274 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/1.023, allocations: 67.91 kB / 1.274 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.023, allocations: 0.8438 kB / 1.274 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002639/1.023, allocations: 125.2 kB / 1.274 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.023, allocations: 5.938 kB / 1.274 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/1.023, allocations: 0.9062 kB / 1.274 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/1.023, allocations: 5.078 kB / 1.274 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/1.023, allocations: 20.44 kB / 1.274 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/1.023, allocations: 1.062 kB / 1.274 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/1.024, allocations: 10.45 kB / 1.274 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/1.024, allocations: 3.156 kB / 1.274 GB, free: 3.895 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 9.427e-05/1.024, allocations: 126 kB / 1.274 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/1.024, allocations: 11.92 kB / 1.274 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/1.024, allocations: 13.69 kB / 1.274 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.024, allocations: 0.9375 kB / 1.274 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.024, allocations: 0 / 1.274 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.024, allocations: 0.5938 kB / 1.274 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/1.024, allocations: 384.3 kB / 1.274 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.024, allocations: 5.234 kB / 1.274 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/1.024, allocations: 6.797 kB / 1.274 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/1.024, allocations: 1.125 kB / 1.274 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/1.024, allocations: 1.062 kB / 1.274 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.024, allocations: 3.938 kB / 1.274 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.024, allocations: 1 kB / 1.274 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/1.025, allocations: 203 kB / 1.275 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/1.025, allocations: 92.67 kB / 1.275 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/1.025, allocations: 0.875 kB / 1.275 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/1.025, allocations: 8.719 kB / 1.275 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/1.025, allocations: 5.078 kB / 1.275 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.025, allocations: 3.625 kB / 1.275 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.07e-05/1.025, allocations: 93.47 kB / 1.275 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.025, allocations: 0 / 1.275 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003751/1.025, allocations: 39.91 kB / 1.275 GB, free: 3.039 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.0008027/1.026, allocations: 0.8009 MB / 1.276 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002717/1.026, allocations: 75.2 kB / 1.276 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.026, allocations: 0.9375 kB / 1.276 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.965e-05/1.026, allocations: 34.7 kB / 1.276 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/1.027, allocations: 22.89 kB / 1.276 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/1.028, allocations: 1.494 MB / 1.277 GB, free: 16.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/1.029, allocations: 0.6919 MB / 1.278 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.754e-05/1.029, allocations: 11.39 kB / 1.278 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/1.029, allocations: 21.81 kB / 1.278 GB, free: 16.24 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/1.029, allocations: 0 / 1.278 GB, free: 16.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/1.056, allocations: 2.655 MB / 1.28 GB, free: 15.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/9.276, allocations: 11.17 kB / 1.28 GB, free: 15.76 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --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_2/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: 15.80492936912924]