Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001564/0.001564, allocations: 106.2 kB / 16.27 MB, free: 5.977 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.001794/0.001794, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.55 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2483, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002898/0.2512, allocations: 1.512 MB / 0.9517 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.2526, allocations: 0.7518 MB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.2527, allocations: 7.938 kB / 0.9525 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.2528, allocations: 3.938 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.2528, allocations: 15.8 kB / 0.9525 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/0.2535, allocations: 135.6 kB / 0.9526 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.2537, allocations: 103.7 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2538, allocations: 19.97 kB / 0.9527 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.2539, allocations: 43.91 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.465e-05/0.254, allocations: 51.81 kB / 0.9528 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.254, allocations: 8 kB / 0.9528 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.2543, allocations: 107.8 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.2543, allocations: 19.92 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.2544, allocations: 47.77 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.2547, allocations: 163.9 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2547, allocations: 0 / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2547, allocations: 0 / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.984e-06/0.2547, allocations: 0 / 0.9532 GB, free: 5.879 MB / 0.7325 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.0007451/0.2555, allocations: 458.6 kB / 0.9536 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2555, allocations: 8.031 kB / 0.9536 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.2556, allocations: 12.84 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.2557, allocations: 180.2 kB / 0.9538 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.2558, allocations: 8.312 kB / 0.9538 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.2558, allocations: 12.36 kB / 0.9538 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.2561, allocations: 81.95 kB / 0.9539 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2561, allocations: 4 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.2561, allocations: 4 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2561, allocations: 3.984 kB / 0.9539 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.2563, allocations: 39.97 kB / 0.9539 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008009/0.2571, allocations: 356.5 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.2573, allocations: 54.56 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.2574, allocations: 44.83 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2575, allocations: 4 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.2577, allocations: 99.39 kB / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.834e-06/0.2578, allocations: 0 / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005581/0.2583, allocations: 185.6 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2584, allocations: 55.41 kB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2585, allocations: 129.8 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.2585, allocations: 37.64 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.2586, allocations: 84.14 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.2586, allocations: 15.81 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.2587, allocations: 33.7 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2588, allocations: 322.8 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.95e-05/0.2589, allocations: 27.98 kB / 0.9553 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.259, allocations: 72.2 kB / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.2592, allocations: 92.2 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.2592, allocations: 4 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002662/0.2595, allocations: 125.5 kB / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2595, allocations: 8 kB / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2595, allocations: 3.984 kB / 0.9556 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2596, allocations: 0 / 0.9556 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2597, allocations: 15.94 kB / 0.9556 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2597, allocations: 3.984 kB / 0.9556 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.2598, allocations: 15.84 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2598, allocations: 8.094 kB / 0.9557 GB, free: 3.055 MB / 0.7325 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.0001121/0.2599, allocations: 127.6 kB / 0.9558 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.2599, allocations: 11.89 kB / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.26, allocations: 8.375 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.26, allocations: 4 kB / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.26, allocations: 0 / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.26, allocations: 0 / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.2606, allocations: 426.7 kB / 0.9562 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2606, allocations: 0 / 0.9562 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.2606, allocations: 11.92 kB / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2606, allocations: 0 / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.2607, allocations: 0 / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2607, allocations: 64 / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2607, allocations: 8.062 kB / 0.9562 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.2611, allocations: 255.3 kB / 0.9565 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.2611, allocations: 85.02 kB / 0.9566 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.2612, allocations: 3.984 kB / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2613, allocations: 8 kB / 0.9566 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.2613, allocations: 11.92 kB / 0.9566 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.2614, allocations: 3.938 kB / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.2614, allocations: 99.02 kB / 0.9567 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2614, allocations: 4 kB / 0.9567 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003153/0.2617, allocations: 47.92 kB / 0.9567 GB, free: 1.867 MB / 0.7325 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.0003485/0.2621, allocations: 156.6 kB / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.2624, allocations: 91.95 kB / 0.957 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2624, allocations: 0 / 0.957 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.2626, allocations: 47.97 kB / 0.957 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.2628, allocations: 15.92 kB / 0.957 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.2633, allocations: 234 kB / 0.9573 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.2636, allocations: 0.6922 MB / 0.9579 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.2637, allocations: 11.44 kB / 0.9579 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.2637, allocations: 0 / 0.9579 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of Templates: time 0.003621/0.2673, allocations: 1.791 MB / 0.9597 GB, free: 14.78 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches