Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001837/0.001837, allocations: 106 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.001779/0.001779, 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.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 3.707 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 443.5 MB / 0.7287 GB, free: 14.44 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.89 kB / 1.056 GB, free: 2.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3453, allocations: 160.7 MB / 1.213 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003077/0.3484, allocations: 1.509 MB / 1.214 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.35, allocations: 0.737 MB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.35, allocations: 0 / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.537e-05/0.3501, allocations: 7.922 kB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.3501, allocations: 11.88 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.3508, allocations: 127.6 kB / 1.215 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.3509, allocations: 71.78 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.351, allocations: 16.25 kB / 1.215 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.3511, allocations: 35.86 kB / 1.215 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.3e-05/0.3512, allocations: 43.81 kB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.3513, allocations: 8 kB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.3515, allocations: 91.89 kB / 1.215 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.3515, allocations: 19.98 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.3516, allocations: 31.86 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.3519, allocations: 151.4 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3519, allocations: 3.938 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3519, allocations: 0 / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3519, allocations: 0 / 1.216 GB, free: 14.5 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.0007514/0.3526, allocations: 428.6 kB / 1.216 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3527, allocations: 8.031 kB / 1.216 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.3527, allocations: 34.75 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.3528, allocations: 12.89 kB / 1.216 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.3529, allocations: 172.3 kB / 1.216 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.353, allocations: 8.359 kB / 1.216 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.353, allocations: 4.375 kB / 1.216 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3532, allocations: 73.72 kB / 1.216 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3532, allocations: 4 kB / 1.216 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3532, allocations: 0 / 1.216 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3532, allocations: 0 / 1.216 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.3533, allocations: 35.97 kB / 1.216 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.354, allocations: 312.8 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.3542, allocations: 46.5 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.3542, allocations: 28.97 kB / 1.217 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3543, allocations: 12.06 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.3545, allocations: 75.36 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3545, allocations: 0 / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004545/0.3549, allocations: 145.5 kB / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.355, allocations: 55.41 kB / 1.217 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3551, allocations: 121.7 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.3551, allocations: 33.7 kB / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.3552, allocations: 92.12 kB / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.3552, allocations: 19.83 kB / 1.217 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.3553, allocations: 29.7 kB / 1.217 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3554, allocations: 326.8 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/0.3555, allocations: 23.98 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3556, allocations: 50.56 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.3558, allocations: 74.48 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3558, allocations: 4 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002497/0.3561, allocations: 105.5 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3561, allocations: 8 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3561, allocations: 4.062 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3561, allocations: 0 / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.834e-05/0.3562, allocations: 15.98 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3562, allocations: 4 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.3563, allocations: 4 kB / 1.218 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3563, allocations: 4 kB / 1.218 GB, free: 11.92 MB / 0.9669 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 0.0001233/0.3564, allocations: 125.7 kB / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.3564, allocations: 7.953 kB / 1.218 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.3565, allocations: 12.38 kB / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3565, allocations: 3.984 kB / 1.218 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3565, allocations: 3.938 kB / 1.218 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3565, allocations: 0 / 1.218 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.357, allocations: 390.4 kB / 1.218 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.357, allocations: 0 / 1.218 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.357, allocations: 11.92 kB / 1.218 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.357, allocations: 3.938 kB / 1.218 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.357, allocations: 4 kB / 1.218 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.357, allocations: 3.938 kB / 1.218 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.357, allocations: 0 / 1.218 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3574, allocations: 203.5 kB / 1.219 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.3574, allocations: 81.06 kB / 1.219 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.3574, allocations: 8 kB / 1.219 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.3575, allocations: 3.938 kB / 1.219 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.3576, allocations: 11.98 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3576, allocations: 0 / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.669e-05/0.3577, allocations: 95.92 kB / 1.219 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3577, allocations: 0 / 1.219 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003345/0.358, allocations: 35.94 kB / 1.219 GB, free: 10.83 MB / 0.9669 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.0009828/0.359, allocations: 0.8236 MB / 1.22 GB, free: 10 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002738/0.3593, allocations: 67.89 kB / 1.22 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3593, allocations: 0 / 1.22 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3594, allocations: 36.11 kB / 1.22 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.3596, allocations: 7.938 kB / 1.22 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.3616, allocations: 1.487 MB / 1.221 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3619, allocations: 0.6885 MB / 1.222 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.309e-05/0.362, allocations: 7.984 kB / 1.222 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.362, allocations: 19.44 kB / 1.222 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.362, allocations: 0 / 1.222 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.3926, allocations: 2.672 MB / 1.225 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.53, allocations: 6.953 kB / 1.225 GB, free: 5.031 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.594730695243925]