Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00227/0.00227, allocations: 190.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.663/1.663, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.801/2.801, allocations: 437 MB / 0.7101 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7125/0.7145, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003133/0.7177, allocations: 1.559 MB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.719, allocations: 0.7246 MB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.7191, allocations: 0 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.7192, allocations: 7.984 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.7192, allocations: 11.86 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.7198, allocations: 111.8 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.7199, allocations: 67.78 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.72, allocations: 19.98 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.7201, allocations: 35.91 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.7202, allocations: 39.83 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.7202, allocations: 8 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.7204, allocations: 91.84 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.7205, allocations: 19.92 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.7205, allocations: 35.84 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.7208, allocations: 137.6 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7208, allocations: 4 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7208, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.7208, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 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.000691/0.7215, allocations: 424.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.7215, allocations: 8.031 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.7216, allocations: 12.83 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.7217, allocations: 168.3 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.7218, allocations: 384 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.7218, allocations: 12.38 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.722, allocations: 69.97 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.722, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.722, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.722, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.7222, allocations: 39.97 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006488/0.7228, allocations: 328.5 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.723, allocations: 46.55 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.858e-05/0.7231, allocations: 32.97 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.7231, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.7234, allocations: 83.38 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.7234, allocations: 3.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004227/0.7238, allocations: 145.5 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.7239, allocations: 55.41 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.724, allocations: 121.8 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.724, allocations: 25.7 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.7241, allocations: 88.14 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.7241, allocations: 19.8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.7242, allocations: 29.72 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7243, allocations: 322.8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.7244, allocations: 23.98 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.681e-05/0.7245, allocations: 46.55 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.7247, allocations: 74.5 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7247, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002463/0.7249, allocations: 113.5 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.725, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.725, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.725, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.7251, allocations: 19.98 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.7251, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.7252, allocations: 19.83 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.7252, allocations: 4.391 kB / 1.022 GB, free: 13.32 MB / 0.7794 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.0001119/0.7253, allocations: 117.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.7254, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.7254, allocations: 8.375 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.7254, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.7254, allocations: 11.92 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.7254, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.7259, allocations: 386.3 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.7259, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.726, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.726, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.726, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.726, allocations: 4 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.726, allocations: 7.938 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.7263, allocations: 207.4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.7264, allocations: 85.02 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.7264, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.7265, allocations: 15.98 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.7265, allocations: 7.922 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.7266, allocations: 7.984 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.588e-05/0.7266, allocations: 95.88 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7266, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002884/0.7269, allocations: 39.98 kB / 1.023 GB, free: 12.23 MB / 0.7794 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.000397/0.7273, allocations: 160.3 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002472/0.7276, allocations: 75.89 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7276, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.81e-05/0.7277, allocations: 31.98 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.728, allocations: 6.062 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.7284, allocations: 196.5 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.7288, allocations: 0.6885 MB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.695e-05/0.7288, allocations: 7.938 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.7288, allocations: 11.44 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7288, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of Templates: time 0.004423/0.7333, allocations: 1.422 MB / 1.025 GB, free: 9.598 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0