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.001115/0.001119, allocations: 106.9 kB / 15.99 MB, free: 6.363 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.001199/0.001199, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.348/2.348, allocations: 390.3 MB / 0.665 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 64.39 kB / 0.8127 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2589, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.003549/0.2625, allocations: 1.288 MB / 0.951 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2636, allocations: 412.8 kB / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.2637, allocations: 4 kB / 0.9514 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.2637, allocations: 0 / 0.9514 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.2638, allocations: 0 / 0.9514 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.2646, allocations: 91.78 kB / 0.9515 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.515e-05/0.2646, allocations: 23.86 kB / 0.9515 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.2647, allocations: 4 kB / 0.9515 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.873e-05/0.2648, allocations: 11.94 kB / 0.9515 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.395e-05/0.2648, allocations: 7.969 kB / 0.9516 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2648, allocations: 4 kB / 0.9516 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.2651, allocations: 99.84 kB / 0.9517 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.2652, allocations: 4 kB / 0.9517 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.2652, allocations: 15.92 kB / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.2654, allocations: 63.89 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2654, allocations: 3.938 kB / 0.9517 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2654, allocations: 0 / 0.9517 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2654, allocations: 0 / 0.9517 GB, free: 7.188 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005652/0.266, allocations: 385.4 kB / 0.9521 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.2661, allocations: 8.031 kB / 0.9521 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.2661, allocations: 4.938 kB / 0.9521 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.2663, allocations: 168.3 kB / 0.9523 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.2663, allocations: 384 / 0.9523 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.2664, allocations: 8.359 kB / 0.9523 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.2665, allocations: 34.25 kB / 0.9523 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2665, allocations: 192 / 0.9523 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2665, allocations: 3.938 kB / 0.9523 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2666, allocations: 8 kB / 0.9523 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.693e-05/0.2666, allocations: 7.938 kB / 0.9523 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.2668, allocations: 153.7 kB / 0.9525 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.267, allocations: 26.61 kB / 0.9525 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.267, allocations: 16.86 kB / 0.9525 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.267, allocations: 0 / 0.9525 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.2673, allocations: 59.48 kB / 0.9526 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.2673, allocations: 0 / 0.9526 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002707/0.2675, allocations: 73.55 kB / 0.9526 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.2676, allocations: 51.41 kB / 0.9527 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/0.2677, allocations: 101.9 kB / 0.9528 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.2677, allocations: 29.69 kB / 0.9528 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.2678, allocations: 80.14 kB / 0.9529 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.2678, allocations: 15.81 kB / 0.9529 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.2679, allocations: 21.72 kB / 0.9529 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.268, allocations: 318.8 kB / 0.9532 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.2681, allocations: 8 kB / 0.9532 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.2681, allocations: 35.42 kB / 0.9533 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.056e-05/0.2682, allocations: 51.73 kB / 0.9533 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2682, allocations: 0 / 0.9533 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001566/0.2684, allocations: 69.56 kB / 0.9534 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2684, allocations: 15.88 kB / 0.9534 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2685, allocations: 0 / 0.9534 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2685, allocations: 0 / 0.9534 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.244e-05/0.2686, allocations: 11.98 kB / 0.9534 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.2686, allocations: 96 / 0.9534 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.2687, allocations: 12 kB / 0.9534 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.2687, allocations: 0 / 0.9534 GB, free: 5.188 MB / 0.7325 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 9.683e-05/0.2688, allocations: 117.7 kB / 0.9535 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.2688, allocations: 7.844 kB / 0.9536 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.2688, allocations: 7.5 kB / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2689, allocations: 4 kB / 0.9536 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2689, allocations: 0 / 0.9536 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2689, allocations: 3.984 kB / 0.9536 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.269, allocations: 153.7 kB / 0.9537 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2691, allocations: 0 / 0.9537 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.2691, allocations: 4 kB / 0.9537 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2691, allocations: 7.938 kB / 0.9537 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2691, allocations: 4 kB / 0.9537 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2691, allocations: 0 / 0.9537 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2691, allocations: 0 / 0.9537 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.2693, allocations: 81.14 kB / 0.9538 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.2694, allocations: 81.11 kB / 0.9539 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.2694, allocations: 7.938 kB / 0.9539 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.007e-05/0.2695, allocations: 0 / 0.9539 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.2695, allocations: 7.922 kB / 0.9539 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2695, allocations: 4 kB / 0.9539 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.2696, allocations: 79.28 kB / 0.954 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2696, allocations: 0 / 0.954 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004787/0.2701, allocations: 31.98 kB / 0.954 GB, free: 4.496 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: 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.0004644/0.2705, allocations: 171.3 kB / 0.9542 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.2707, allocations: 31.92 kB / 0.9542 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2707, allocations: 0 / 0.9542 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.75e-05/0.2708, allocations: 15.98 kB / 0.9542 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.271, allocations: 0 / 0.9542 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.2714, allocations: 146.8 kB / 0.9544 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.2717, allocations: 0.6844 MB / 0.955 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.2717, allocations: 7.438 kB / 0.955 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.2717, allocations: 4 kB / 0.955 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of Templates: time 0.004168/0.2759, allocations: 1.21 MB / 0.9562 GB, free: 2.18 MB / 0.7325 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches