Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001746/0.001746, allocations: 108.8 kB / 16.45 MB, free: 6.035 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.001436/0.001436, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.739/2.739, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 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.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 63.91 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9187/0.9208, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003102/0.9239, allocations: 1.512 MB / 1.27 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.9253, allocations: 0.7416 MB / 1.271 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.9254, allocations: 0 / 1.271 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.9254, allocations: 3.938 kB / 1.271 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.9254, allocations: 11.88 kB / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.9259, allocations: 115.6 kB / 1.271 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.926, allocations: 87.75 kB / 1.271 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.907e-05/0.9261, allocations: 15.75 kB / 1.271 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.9261, allocations: 39.84 kB / 1.271 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.9262, allocations: 39.83 kB / 1.271 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.9262, allocations: 8 kB / 1.271 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.9264, allocations: 103.8 kB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.9264, allocations: 15.98 kB / 1.271 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.9265, allocations: 35.78 kB / 1.271 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.9267, allocations: 133.6 kB / 1.272 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.9267, allocations: 0 / 1.272 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.32e-07/0.9267, allocations: 0 / 1.272 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.9267, allocations: 0 / 1.272 GB, free: 2.305 MB / 0.9669 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.000663/0.9274, allocations: 428.7 kB / 1.272 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.9274, allocations: 12.03 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.9274, allocations: 30.75 kB / 1.272 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.9275, allocations: 8.891 kB / 1.272 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.9276, allocations: 176.3 kB / 1.272 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.9276, allocations: 4.375 kB / 1.272 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.9276, allocations: 4.375 kB / 1.272 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.9278, allocations: 73.78 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.9278, allocations: 0 / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.9278, allocations: 0 / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-06/0.9278, allocations: 0 / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.928, allocations: 43.97 kB / 1.272 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.9286, allocations: 312.7 kB / 1.273 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.9287, allocations: 58.42 kB / 1.273 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.808e-05/0.9288, allocations: 32.91 kB / 1.273 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.9288, allocations: 0 / 1.273 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.929, allocations: 79.38 kB / 1.273 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.929, allocations: 0 / 1.273 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003524/0.9293, allocations: 141.5 kB / 1.273 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.9294, allocations: 51.41 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.9295, allocations: 129.7 kB / 1.273 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.9295, allocations: 29.7 kB / 1.273 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.9296, allocations: 88.22 kB / 1.273 GB, free: 428 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.9296, allocations: 19.89 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.9296, allocations: 29.7 kB / 1.273 GB, free: 372 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.9298, allocations: 322.8 kB / 1.273 GB, free: 40 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/0.9299, allocations: 27.98 kB / 1.274 GB, free: 12 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.93, allocations: 46.55 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.9302, allocations: 74.5 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.9302, allocations: 4 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002521/0.9305, allocations: 113.5 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.9305, allocations: 4 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.9305, allocations: 4 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.006e-06/0.9305, allocations: 0 / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.9306, allocations: 11.98 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.9306, allocations: 0 / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.305e-05/0.9307, allocations: 15.98 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.9307, allocations: 8.391 kB / 1.274 GB, free: 15.71 MB / 0.9825 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.351e-05/0.9308, allocations: 121.7 kB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.9308, allocations: 11.89 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.194e-05/0.9309, allocations: 12.38 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9309, allocations: 0 / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.9309, allocations: 0 / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.9309, allocations: 3.984 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.9314, allocations: 386.4 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.9314, allocations: 3.984 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.9314, allocations: 4 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.9314, allocations: 3.984 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.9314, allocations: 0 / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.9314, allocations: 7.938 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.9314, allocations: 0 / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.9317, allocations: 207.5 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.9318, allocations: 85.06 kB / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.9318, allocations: 0 / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.9319, allocations: 11.92 kB / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.9319, allocations: 7.938 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.9319, allocations: 7.938 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.932, allocations: 91.27 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.932, allocations: 0 / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002925/0.9323, allocations: 43.86 kB / 1.275 GB, free: 14.61 MB / 0.9825 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.0008814/0.9332, allocations: 0.8079 MB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.9334, allocations: 71.84 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.9334, allocations: 0 / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.63e-05/0.9335, allocations: 27.98 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.9337, allocations: 24.72 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.9355, allocations: 1.487 MB / 1.277 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.9358, allocations: 0.6923 MB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.9358, allocations: 11.88 kB / 1.278 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.9359, allocations: 27.42 kB / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.9359, allocations: 0 / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.9613, allocations: 2.655 MB / 1.28 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/9.334, allocations: 12.58 kB / 1.28 GB, free: 8.805 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.386680772062391]