Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009377/0.0009377, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.001069, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.734/2.734, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 8 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2995, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001746/0.3013, allocations: 1.245 MB / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3027, allocations: 0.7479 MB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.3028, allocations: 3.938 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.3028, allocations: 0 / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.724e-05/0.3029, allocations: 19.8 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.3035, allocations: 111.8 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3036, allocations: 95.75 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.3037, allocations: 19.98 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3038, allocations: 39.84 kB / 1.062 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.058e-05/0.3039, allocations: 43.88 kB / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.304, allocations: 7.938 kB / 1.062 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.3042, allocations: 91.84 kB / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.3042, allocations: 23.95 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.3043, allocations: 61.5 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.3045, allocations: 120 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3045, allocations: 8 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3045, allocations: 0 / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3045, allocations: 0 / 1.062 GB, free: 2.328 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.0006733/0.3052, allocations: 434.7 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3053, allocations: 11.97 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.3053, allocations: 8.844 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3054, allocations: 180.2 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.3055, allocations: 4.375 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.3055, allocations: 12.38 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.3058, allocations: 93.88 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3058, allocations: 3.938 kB / 1.063 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3058, allocations: 0 / 1.063 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3058, allocations: 4 kB / 1.063 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.306, allocations: 59.95 kB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/0.3068, allocations: 344.7 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.307, allocations: 78.52 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3071, allocations: 40.84 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.3072, allocations: 4 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.3074, allocations: 99.34 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.3074, allocations: 0 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005651/0.308, allocations: 197.6 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3081, allocations: 63.41 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3082, allocations: 125.7 kB / 1.064 GB, free: 404 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3082, allocations: 33.7 kB / 1.064 GB, free: 364 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.3082, allocations: 84.14 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.3083, allocations: 19.8 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.3083, allocations: 17.72 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3084, allocations: 326.8 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/0.3085, allocations: 35.98 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3086, allocations: 71.02 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.3088, allocations: 100.2 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3089, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000293/0.3092, allocations: 129.5 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3092, allocations: 12.09 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3092, allocations: 4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3092, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3093, allocations: 23.92 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3093, allocations: 4 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/0.3094, allocations: 15.83 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3095, allocations: 4 kB / 1.064 GB, free: 15.47 MB / 0.8262 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 9.214e-05/0.3096, allocations: 129.8 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.3096, allocations: 4 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.3096, allocations: 8.375 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3096, allocations: 0 / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3096, allocations: 7.984 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3096, allocations: 4.031 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.3102, allocations: 442.2 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3102, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.3103, allocations: 7.984 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3103, allocations: 4 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3103, allocations: 0 / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3103, allocations: 0 / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3103, allocations: 3.938 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.3107, allocations: 259.3 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.3108, allocations: 81.02 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3108, allocations: 4 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3109, allocations: 7.984 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.311, allocations: 15.88 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.311, allocations: 7.984 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.902e-05/0.311, allocations: 95.27 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3111, allocations: 0 / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003123/0.3114, allocations: 43.94 kB / 1.065 GB, free: 14.27 MB / 0.8262 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.0003642/0.3117, allocations: 152.5 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003031/0.3121, allocations: 107.9 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3121, allocations: 4 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.3122, allocations: 55.89 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.3125, allocations: 14.16 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.313, allocations: 254.6 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.3132, allocations: 0.6926 MB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.3133, allocations: 15.42 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.3133, allocations: 0 / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.003636/0.3169, allocations: 1.792 MB / 1.068 GB, free: 11.14 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches