Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001318/0.001318, allocations: 195 kB / 16.14 MB, free: 6.648 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.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.414/2.414, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 59.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.7409, allocations: 140.4 MB / 0.9489 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002759/0.7437, allocations: 1.295 MB / 0.9502 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.7446, allocations: 426.5 kB / 0.9506 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.7446, allocations: 3.938 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.7447, allocations: 0 / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.7448, allocations: 1.25 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.7452, allocations: 82.92 kB / 0.9506 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.154e-05/0.7453, allocations: 12.5 kB / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.7453, allocations: 9.234 kB / 0.9507 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.834e-05/0.7453, allocations: 8.359 kB / 0.9507 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.906e-05/0.7454, allocations: 18.36 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.7454, allocations: 1.5 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.7456, allocations: 92.31 kB / 0.9508 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.7456, allocations: 1.875 kB / 0.9508 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.7456, allocations: 16.42 kB / 0.9508 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.7458, allocations: 92.91 kB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7458, allocations: 3.938 kB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.21e-07/0.7458, allocations: 1.5 kB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.7458, allocations: 0 / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004133/0.7463, allocations: 379.4 kB / 0.9513 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.7463, allocations: 9.062 kB / 0.9513 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.7463, allocations: 2.094 kB / 0.9513 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.223e-05/0.7464, allocations: 166.5 kB / 0.9514 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.7465, allocations: 6.5 kB / 0.9514 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.7465, allocations: 6.359 kB / 0.9514 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.483e-05/0.7466, allocations: 33.75 kB / 0.9515 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7466, allocations: 1.5 kB / 0.9515 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.7466, allocations: 11.88 kB / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.7466, allocations: 1.344 kB / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.7467, allocations: 6.531 kB / 0.9515 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.7468, allocations: 165.3 kB / 0.9516 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.518e-05/0.7469, allocations: 31.05 kB / 0.9517 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.7469, allocations: 13.17 kB / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.7469, allocations: 1.594 kB / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.7471, allocations: 59.48 kB / 0.9517 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.7471, allocations: 0 / 0.9517 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002/0.7473, allocations: 74.39 kB / 0.9518 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.7473, allocations: 52.81 kB / 0.9519 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.7474, allocations: 98.05 kB / 0.952 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.7474, allocations: 31.34 kB / 0.952 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.1e-05/0.7474, allocations: 84.14 kB / 0.9521 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.7474, allocations: 14.42 kB / 0.9521 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.7475, allocations: 19 kB / 0.9521 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.7475, allocations: 316 kB / 0.9524 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.7476, allocations: 8.812 kB / 0.9524 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.7476, allocations: 29.64 kB / 0.9524 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.7476, allocations: 48.69 kB / 0.9525 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.7477, allocations: 1.312 kB / 0.9525 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.898e-05/0.7477, allocations: 72.5 kB / 0.9526 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7478, allocations: 9.312 kB / 0.9526 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7478, allocations: 1.594 kB / 0.9526 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.7478, allocations: 5.469 kB / 0.9526 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.7479, allocations: 14.17 kB / 0.9526 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.7479, allocations: 1.656 kB / 0.9526 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.7479, allocations: 1.25 kB / 0.9526 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.7479, allocations: 6.438 kB / 0.9526 GB, free: 5.75 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.559e-05/0.748, allocations: 108.2 kB / 0.9527 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.748, allocations: 5.344 kB / 0.9527 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.7481, allocations: 8.938 kB / 0.9527 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.7481, allocations: 0 / 0.9527 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7481, allocations: 5.188 kB / 0.9527 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7481, allocations: 7.984 kB / 0.9527 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.7482, allocations: 150.7 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.7482, allocations: 4 kB / 0.9529 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.431e-05/0.7483, allocations: 5.5 kB / 0.9529 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.7483, allocations: 5.5 kB / 0.9529 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.7483, allocations: 0 / 0.9529 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7483, allocations: 0 / 0.9529 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.7483, allocations: 1.344 kB / 0.9529 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.7485, allocations: 98.36 kB / 0.953 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.7485, allocations: 77.11 kB / 0.9531 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.7485, allocations: 5.219 kB / 0.9531 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.7485, allocations: 1.469 kB / 0.9531 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.7486, allocations: 5.234 kB / 0.9531 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.7486, allocations: 1.5 kB / 0.9531 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.352e-05/0.7486, allocations: 77.97 kB / 0.9531 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.62e-07/0.7486, allocations: 0 / 0.9531 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002506/0.7489, allocations: 39.2 kB / 0.9532 GB, free: 5.121 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003315/0.7492, allocations: 167.2 kB / 0.9533 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.7493, allocations: 29.33 kB / 0.9534 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7493, allocations: 0 / 0.9534 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.751e-05/0.7494, allocations: 12.75 kB / 0.9534 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.7495, allocations: 2.594 kB / 0.9534 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.7498, allocations: 123.4 kB / 0.9535 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.7499, allocations: 0.6742 MB / 0.9542 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.7499, allocations: 6.422 kB / 0.9542 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.7499, allocations: 8.812 kB / 0.9542 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.7499, allocations: 0 / 0.9542 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of Templates: time 0.003357/0.7533, allocations: 1.006 MB / 0.9552 GB, free: 3.621 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y