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.001472/0.001472, allocations: 103.4 kB / 16.35 MB, free: 5.875 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.001677/0.001677, allocations: 198.5 kB / 17.3 MB, free: 5.516 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 62.12 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.296, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002497/0.2985, allocations: 1.535 MB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2998, allocations: 0.7672 MB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.2998, allocations: 3.938 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.2999, allocations: 3.938 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.2999, allocations: 15.86 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.3005, allocations: 131.6 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3006, allocations: 103.7 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3007, allocations: 16 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.221e-05/0.3008, allocations: 39.84 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.214e-05/0.3009, allocations: 59.8 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.3009, allocations: 12 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.3011, allocations: 95.84 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.3012, allocations: 27.95 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.3012, allocations: 35.8 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.3015, allocations: 167.6 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3015, allocations: 4 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3015, allocations: 3.938 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3015, allocations: 3.938 kB / 1.03 GB, free: 15.05 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.0006312/0.3021, allocations: 458.6 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3022, allocations: 8.031 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.3022, allocations: 8.844 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3023, allocations: 180.2 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.3024, allocations: 4.375 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.3024, allocations: 8.375 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.3026, allocations: 93.88 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3026, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3027, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3027, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3028, allocations: 47.95 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007257/0.3036, allocations: 344.6 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3037, allocations: 66.58 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.3039, allocations: 40.84 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.3039, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.3041, allocations: 103.5 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.3041, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005118/0.3046, allocations: 181.5 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.3047, allocations: 51.41 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/0.3048, allocations: 129.8 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3048, allocations: 29.7 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.3049, allocations: 92.14 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.3049, allocations: 23.7 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.305, allocations: 29.7 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.3051, allocations: 326.8 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.3051, allocations: 27.98 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-05/0.3053, allocations: 60.28 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3054, allocations: 92.2 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3054, allocations: 0 / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002595/0.3057, allocations: 137.4 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3057, allocations: 4 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3057, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3058, allocations: 4 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.3059, allocations: 15.98 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3059, allocations: 3.938 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.071e-05/0.306, allocations: 15.88 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.306, allocations: 8 kB / 1.032 GB, free: 12.23 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 8.712e-05/0.3061, allocations: 133.8 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.3061, allocations: 11.91 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.3061, allocations: 8.375 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3061, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3062, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3062, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.3067, allocations: 430.7 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3067, allocations: 3.984 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.3068, allocations: 4 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3068, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3068, allocations: 4 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3068, allocations: 3.984 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3068, allocations: 4.016 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.3072, allocations: 255.3 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.3072, allocations: 81.02 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.3073, allocations: 8 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3074, allocations: 3.984 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.3075, allocations: 7.938 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.3075, allocations: 7.984 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.589e-05/0.3076, allocations: 99.02 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3076, allocations: 4 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000333/0.3079, allocations: 39.94 kB / 1.033 GB, free: 11.05 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.0004084/0.3083, allocations: 166 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.3086, allocations: 91.88 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3086, allocations: 4.188 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.3088, allocations: 51.92 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.3091, allocations: 9.484 kB / 1.033 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.3095, allocations: 200.1 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.3098, allocations: 0.6885 MB / 1.034 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.759e-05/0.3098, allocations: 11.98 kB / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.3098, allocations: 11.44 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3098, allocations: 0 / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of Templates: time 0.004364/0.3142, allocations: 1.736 MB / 1.036 GB, free: 8.055 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 gbode -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