Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 100.1 kB / 15.88 MB, free: 12 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.001499/0.001499, allocations: 200 kB / 16.79 MB, free: 6.828 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.48 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.247, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002651/0.2497, allocations: 1.556 MB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.251, allocations: 0.7362 MB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.2511, allocations: 3.938 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.2511, allocations: 7.922 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.2512, allocations: 7.922 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.2517, allocations: 103.8 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.872e-05/0.2518, allocations: 71.78 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.2519, allocations: 7.984 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.911e-05/0.252, allocations: 35.91 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.2521, allocations: 31.84 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2521, allocations: 4 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.2523, allocations: 91.84 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.2523, allocations: 27.89 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.2524, allocations: 27.86 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.2525, allocations: 100.1 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2526, allocations: 0 / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2526, allocations: 0 / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.2526, allocations: 0 / 1.055 GB, free: 5.496 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.0006115/0.2532, allocations: 417 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2532, allocations: 15.95 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.2533, allocations: 12.84 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2534, allocations: 176.2 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.2534, allocations: 4.375 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.2535, allocations: 8.312 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.2537, allocations: 73.91 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2537, allocations: 0 / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.2537, allocations: 0 / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2537, allocations: 0 / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.2538, allocations: 39.97 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.2544, allocations: 316.8 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.2546, allocations: 54.48 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.23e-05/0.2547, allocations: 32.97 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.2547, allocations: 8.062 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.2549, allocations: 79.36 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.2549, allocations: 0 / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003865/0.2553, allocations: 133.5 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.2553, allocations: 59.34 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.2554, allocations: 126.2 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2555, allocations: 29.7 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.2555, allocations: 88.14 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.2556, allocations: 23.72 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.2556, allocations: 21.72 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.2557, allocations: 326.8 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.592e-05/0.2558, allocations: 27.98 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.2559, allocations: 58.53 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.2561, allocations: 74.48 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2561, allocations: 0 / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002452/0.2563, allocations: 109.5 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2564, allocations: 8.062 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2564, allocations: 0 / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2564, allocations: 7.984 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/0.2565, allocations: 8 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2565, allocations: 0 / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.2566, allocations: 11.89 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.2566, allocations: 4 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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 8.903e-05/0.2567, allocations: 121.7 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.2567, allocations: 8 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.2568, allocations: 12.36 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.2568, allocations: 7.984 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2568, allocations: 0 / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2568, allocations: 0 / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.2572, allocations: 386.3 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2572, allocations: 0 / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.2573, allocations: 7.938 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2573, allocations: 4 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2573, allocations: 3.938 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2573, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2573, allocations: 11.92 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.2576, allocations: 203.4 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.2577, allocations: 81.11 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.2577, allocations: 0 / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.2578, allocations: 11.98 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.2578, allocations: 3.938 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.2578, allocations: 11.98 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.841e-05/0.2579, allocations: 91.27 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.233e-06/0.2579, allocations: 0 / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002984/0.2582, allocations: 39.94 kB / 1.059 GB, free: 1.855 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,win.occ,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.0003728/0.2586, allocations: 163.5 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.2588, allocations: 75.94 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2588, allocations: 0 / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.259, allocations: 35.92 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.2592, allocations: 7.938 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.2597, allocations: 223.9 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.2601, allocations: 0.6887 MB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.2601, allocations: 11.44 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.2601, allocations: 0 / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of Templates: time 0.003405/0.2635, allocations: 1.612 MB / 1.061 GB, free: 15 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches