Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 102.1 kB / 16.35 MB, free: 6.289 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.001072/0.001072, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 68.8 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3092, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002711/0.3119, allocations: 1.516 MB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3132, allocations: 0.7437 MB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.3133, allocations: 0 / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.3133, allocations: 11.92 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.454e-05/0.3134, allocations: 7.875 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.3139, allocations: 127.6 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.3141, allocations: 71.78 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.3142, allocations: 15.97 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.3143, allocations: 35.91 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.3143, allocations: 43.83 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3144, allocations: 4 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.3145, allocations: 99.84 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.3146, allocations: 23.91 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.3146, allocations: 23.86 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.3149, allocations: 139.6 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3149, allocations: 0 / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3149, allocations: 0 / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3149, allocations: 0 / 1.029 GB, free: 15.24 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.0007061/0.3156, allocations: 425 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3157, allocations: 8.031 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.3157, allocations: 12.78 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3159, allocations: 176.2 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.3159, allocations: 4.375 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.316, allocations: 12.36 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.3162, allocations: 69.95 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3162, allocations: 4 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3162, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3162, allocations: 4 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.3164, allocations: 35.97 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00064/0.317, allocations: 312.7 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.3171, allocations: 46.56 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.197e-05/0.3172, allocations: 36.97 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3173, allocations: 4 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.3174, allocations: 79.31 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3174, allocations: 0 / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004016/0.3179, allocations: 141.6 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3179, allocations: 59.39 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.318, allocations: 117.8 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.318, allocations: 25.7 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.3181, allocations: 104 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.3181, allocations: 11.84 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.3182, allocations: 29.7 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3183, allocations: 318.8 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.3184, allocations: 27.97 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.3185, allocations: 55.8 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3187, allocations: 79.41 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3187, allocations: 3.938 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002367/0.319, allocations: 121.4 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.319, allocations: 8 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.319, allocations: 0 / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.319, allocations: 0 / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.3191, allocations: 16.05 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3191, allocations: 4 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.393e-05/0.3192, allocations: 11.89 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.3192, allocations: 4 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001021/0.3193, allocations: 129.7 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.3194, allocations: 11.91 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.3194, allocations: 4.375 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.3194, allocations: 4 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3194, allocations: 0 / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3194, allocations: 3.984 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.3199, allocations: 386.7 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3199, allocations: 4 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.3199, allocations: 4.047 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3199, allocations: 3.984 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.32, allocations: 0 / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.32, allocations: 0 / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.32, allocations: 7.938 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.3203, allocations: 211.5 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.3203, allocations: 85.11 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.3203, allocations: 0 / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-05/0.3204, allocations: 7.984 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.3205, allocations: 3.938 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.3205, allocations: 7.984 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.788e-05/0.3205, allocations: 95.44 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.433e-06/0.3206, allocations: 3.938 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002898/0.3208, allocations: 43.83 kB / 1.033 GB, free: 11.57 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,occ.y,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.0003426/0.3212, allocations: 159.5 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.3214, allocations: 79.88 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3215, allocations: 0 / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.328e-05/0.3215, allocations: 31.98 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.3218, allocations: 10.94 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.3222, allocations: 176.4 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3226, allocations: 0.6885 MB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.784e-05/0.3226, allocations: 4 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.3227, allocations: 11.44 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3227, allocations: 4 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of Templates: time 0.004391/0.3271, allocations: 1.459 MB / 1.035 GB, free: 8.91 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0