Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001803/0.001804, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.548/2.548, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002765, allocations: 65.97 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3444, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002763/0.3472, allocations: 1.508 MB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3484, allocations: 0.7437 MB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.3485, allocations: 0 / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.3485, allocations: 7.922 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.797e-05/0.3486, allocations: 7.875 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.3491, allocations: 127.6 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.3492, allocations: 67.84 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.845e-05/0.3493, allocations: 15.97 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.3494, allocations: 35.86 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.3495, allocations: 47.81 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3495, allocations: 4 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.3497, allocations: 91.91 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.3498, allocations: 19.92 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.3498, allocations: 31.86 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.35, allocations: 143.5 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.35, allocations: 0 / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.35, allocations: 0 / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.35, allocations: 0 / 1.029 GB, free: 15.19 MB / 0.8106 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.0005809/0.3506, allocations: 413 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3507, allocations: 8.031 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.3507, allocations: 12.83 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3509, allocations: 180.2 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.3509, allocations: 12.31 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.3509, allocations: 12.3 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3511, allocations: 65.97 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3511, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3511, allocations: 11.94 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3511, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.3513, allocations: 35.97 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/0.3518, allocations: 312.8 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.352, allocations: 50.55 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.563e-05/0.3521, allocations: 32.97 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3521, allocations: 7.938 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.3522, allocations: 79.44 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3523, allocations: 0 / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003685/0.3526, allocations: 137.5 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3527, allocations: 51.41 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.3528, allocations: 121.8 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3528, allocations: 29.7 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.3529, allocations: 96.05 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.3529, allocations: 23.77 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.3529, allocations: 21.72 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.353, allocations: 322.8 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.3531, allocations: 31.98 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.006e-05/0.3532, allocations: 50.98 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3534, allocations: 66.56 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3534, allocations: 0 / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002299/0.3536, allocations: 125.4 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3537, allocations: 8 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3537, allocations: 64 / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3537, allocations: 4 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.3538, allocations: 11.98 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3538, allocations: 4 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.817e-05/0.3539, allocations: 11.89 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3539, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 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.0001009/0.354, allocations: 129.7 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.354, allocations: 3.906 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.3541, allocations: 12.38 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3541, allocations: 3.938 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3541, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3541, allocations: 3.984 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.3545, allocations: 382.8 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3546, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.3546, allocations: 4 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3546, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3546, allocations: 7.938 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3546, allocations: 4 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3547, allocations: 7.875 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.3549, allocations: 215.5 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.355, allocations: 77.11 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.355, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.3551, allocations: 7.984 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3552, allocations: 11.94 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3552, allocations: 3.984 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.433e-05/0.3553, allocations: 99.44 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3553, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003024/0.3556, allocations: 47.83 kB / 1.033 GB, free: 11.54 MB / 0.8106 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.0003443/0.3559, allocations: 158 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.3562, allocations: 71.89 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3562, allocations: 0 / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.3563, allocations: 35.92 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3566, allocations: 11.94 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.357, allocations: 176.4 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3573, allocations: 0.6886 MB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.43e-05/0.3573, allocations: 7.984 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.3573, allocations: 11.44 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3573, allocations: 0 / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of Templates: time 0.004135/0.3615, allocations: 1.45 MB / 1.035 GB, free: 8.891 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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