Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 99.7 kB / 16.35 MB, free: 5.828 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.001081/0.001081, allocations: 197.2 kB / 17.3 MB, free: 5.484 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.542/2.542, allocations: 442.5 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 66.89 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2884, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002652/0.2911, allocations: 1.528 MB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2924, allocations: 0.7671 MB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.2925, allocations: 0 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.2925, allocations: 3.938 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.268e-05/0.2926, allocations: 15.88 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.2931, allocations: 135.6 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.2932, allocations: 99.73 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2933, allocations: 15.98 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.938e-05/0.2934, allocations: 51.78 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.664e-05/0.2935, allocations: 51.81 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.2936, allocations: 12 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.2938, allocations: 95.91 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.2938, allocations: 23.95 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.2939, allocations: 39.8 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.2941, allocations: 171.5 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2941, allocations: 4 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2941, allocations: 0 / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2942, allocations: 0 / 1.03 GB, free: 15.09 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006948/0.2949, allocations: 455.8 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2949, allocations: 8.031 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.295, allocations: 8.844 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2951, allocations: 184.1 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.2951, allocations: 4.375 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.2952, allocations: 8.375 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.2954, allocations: 89.88 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2954, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.2954, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2954, allocations: 8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.2956, allocations: 47.91 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.2964, allocations: 344.5 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.2965, allocations: 70.55 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2967, allocations: 48.81 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.2967, allocations: 8.125 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.2969, allocations: 87.36 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.2969, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005147/0.2975, allocations: 185.5 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.2975, allocations: 59.41 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.614e-05/0.2976, allocations: 121.8 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.2976, allocations: 29.7 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.2977, allocations: 92.12 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.2977, allocations: 23.7 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.2978, allocations: 29.7 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.2979, allocations: 330.8 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.298, allocations: 27.98 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.2981, allocations: 60.27 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.2983, allocations: 96.2 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2983, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002526/0.2985, allocations: 133.4 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2985, allocations: 4 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2986, allocations: 4 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2986, allocations: 96 / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2987, allocations: 27.92 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2987, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.784e-05/0.2988, allocations: 7.938 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2988, allocations: 11.92 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001027/0.2989, allocations: 132.1 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.2989, allocations: 7.906 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.299, allocations: 4.375 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.299, allocations: 8 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.299, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.299, allocations: 3.984 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.2995, allocations: 418.4 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2996, allocations: 4 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.2996, allocations: 0 / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2996, allocations: 4 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.2996, allocations: 7.984 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2996, allocations: 4 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2996, allocations: 3.938 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.3, allocations: 247.3 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.3001, allocations: 84.95 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.3001, allocations: 4 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3002, allocations: 7.984 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.3003, allocations: 11.94 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.3003, allocations: 7.984 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.533e-05/0.3004, allocations: 95.27 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3004, allocations: 0 / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000309/0.3007, allocations: 43.94 kB / 1.033 GB, free: 11.09 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003674/0.301, allocations: 165 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.3013, allocations: 88.34 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3014, allocations: 8 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.3015, allocations: 47.91 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.3018, allocations: 12.14 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.3022, allocations: 204.3 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.3025, allocations: 0.6898 MB / 1.034 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.784e-05/0.3025, allocations: 7.984 kB / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.3026, allocations: 11.44 kB / 1.034 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3026, allocations: 0 / 1.034 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of Templates: time 0.004263/0.3068, allocations: 1.726 MB / 1.036 GB, free: 8.098 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0