Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 103.8 kB / 16.27 MB, free: 5.98 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.001285/0.001285, allocations: 189.8 kB / 17.2 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.169/2.169, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 67.59 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2393, allocations: 140.4 MB / 0.9503 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002754/0.2421, allocations: 1.512 MB / 0.9517 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.2433, allocations: 0.7245 MB / 0.9524 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.2434, allocations: 3.938 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.2434, allocations: 7.938 kB / 0.9525 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.027e-05/0.2435, allocations: 3.938 kB / 0.9525 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.244, allocations: 127.5 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.884e-05/0.2441, allocations: 79.77 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.2442, allocations: 11.97 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.488e-05/0.2443, allocations: 31.92 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.2444, allocations: 43.83 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.2444, allocations: 8 kB / 0.9527 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.2446, allocations: 99.83 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.2447, allocations: 15.92 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.2447, allocations: 31.86 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.2449, allocations: 139.9 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2449, allocations: 0 / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2449, allocations: 0 / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.245, allocations: 3.938 kB / 0.953 GB, free: 6.055 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005796/0.2455, allocations: 424.9 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2456, allocations: 11.97 kB / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.2456, allocations: 8.844 kB / 0.9534 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.2457, allocations: 172.3 kB / 0.9536 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.2458, allocations: 8.375 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.2458, allocations: 4.375 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.246, allocations: 65.97 kB / 0.9537 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.246, allocations: 0 / 0.9537 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.246, allocations: 4 kB / 0.9537 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.246, allocations: 8 kB / 0.9537 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2461, allocations: 35.97 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.2467, allocations: 316.6 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.2468, allocations: 54.55 kB / 0.9541 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.704e-05/0.2469, allocations: 32.97 kB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.247, allocations: 8.062 kB / 0.9541 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.2471, allocations: 75.31 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 3.376e-06/0.2472, allocations: 0 / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003723/0.2475, allocations: 145.5 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.2476, allocations: 51.41 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.2477, allocations: 121.8 kB / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.2477, allocations: 29.7 kB / 0.9545 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.2477, allocations: 88.14 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.2478, allocations: 23.73 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.2478, allocations: 25.7 kB / 0.9547 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.2479, allocations: 322.8 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.248, allocations: 31.98 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/0.2481, allocations: 50.48 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.2483, allocations: 66.56 kB / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2483, allocations: 0 / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002358/0.2485, allocations: 117.5 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2485, allocations: 4 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2486, allocations: 4 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2486, allocations: 0 / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.423e-05/0.2487, allocations: 15.92 kB / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2487, allocations: 0 / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.2488, allocations: 11.89 kB / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2488, allocations: 7.984 kB / 0.9553 GB, free: 3.508 MB / 0.7325 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.71e-05/0.2489, allocations: 125.8 kB / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.2489, allocations: 4 kB / 0.9554 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.2489, allocations: 8.375 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2489, allocations: 0 / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2489, allocations: 7.938 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2489, allocations: 3.938 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.2494, allocations: 394.6 kB / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2494, allocations: 0 / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.2494, allocations: 7.984 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2494, allocations: 0 / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2495, allocations: 4 kB / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2495, allocations: 0 / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2495, allocations: 3.938 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.2498, allocations: 215.5 kB / 0.956 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.2498, allocations: 85.02 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.2498, allocations: 0 / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.2499, allocations: 7.984 kB / 0.9561 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.25, allocations: 7.938 kB / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-06/0.25, allocations: 4 kB / 0.9561 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.762e-05/0.25, allocations: 91.27 kB / 0.9562 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.25, allocations: 0 / 0.9562 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002974/0.2503, allocations: 43.98 kB / 0.9562 GB, free: 2.414 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: 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.0003272/0.2507, allocations: 161.4 kB / 0.9564 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.2509, allocations: 75.88 kB / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2509, allocations: 0 / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.251, allocations: 35.92 kB / 0.9565 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.2513, allocations: 12.12 kB / 0.9565 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.2517, allocations: 206 kB / 0.9567 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.2519, allocations: 0.6883 MB / 0.9574 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.252, allocations: 23.42 kB / 0.9574 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.252, allocations: 3.938 kB / 0.9574 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.003223/0.2552, allocations: 1.615 MB / 0.959 GB, free: 15.55 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches