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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001011/0.001011, allocations: 99.11 kB / 16.02 MB, free: 76 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.001259/0.001259, allocations: 187.7 kB / 16.92 MB, free: 6.75 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.658, allocations: 142.4 MB / 0.9557 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001089/0.6591, allocations: 0.9524 MB / 0.9566 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.6599, allocations: 412.6 kB / 0.957 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.66, allocations: 0 / 0.957 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.66, allocations: 3.938 kB / 0.957 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/0.66, allocations: 1.25 kB / 0.957 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.6605, allocations: 83.08 kB / 0.9571 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.391e-05/0.6605, allocations: 21.02 kB / 0.9571 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.6606, allocations: 5.016 kB / 0.9571 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.6606, allocations: 4.344 kB / 0.9571 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.822e-05/0.6606, allocations: 18.45 kB / 0.9571 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.6607, allocations: 1.125 kB / 0.9572 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.6608, allocations: 96.41 kB / 0.9572 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.6609, allocations: 6.141 kB / 0.9572 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.6609, allocations: 36.92 kB / 0.9573 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.661, allocations: 63.2 kB / 0.9573 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6611, allocations: 0 / 0.9573 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6611, allocations: 1.344 kB / 0.9573 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.6611, allocations: 0 / 0.9573 GB, free: 6.43 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.0003464/0.6614, allocations: 383.2 kB / 0.9577 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6615, allocations: 9.5 kB / 0.9577 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.6615, allocations: 3.125 kB / 0.9577 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.711e-05/0.6616, allocations: 161.5 kB / 0.9579 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.6616, allocations: 5.469 kB / 0.9579 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.6616, allocations: 10.33 kB / 0.9579 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.866e-05/0.6617, allocations: 35.69 kB / 0.9579 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.6617, allocations: 192 / 0.9579 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.6617, allocations: 5.031 kB / 0.9579 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6618, allocations: 0 / 0.9579 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.6618, allocations: 7.406 kB / 0.9579 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.6619, allocations: 161.8 kB / 0.9581 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.662, allocations: 30.48 kB / 0.9581 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.662, allocations: 18.48 kB / 0.9581 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.662, allocations: 0 / 0.9581 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.6622, allocations: 64.61 kB / 0.9582 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.6622, allocations: 0 / 0.9582 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001911/0.6624, allocations: 68.92 kB / 0.9583 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.6624, allocations: 53.59 kB / 0.9583 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/0.6625, allocations: 102.7 kB / 0.9584 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.6625, allocations: 30.88 kB / 0.9584 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.917e-05/0.6625, allocations: 81.42 kB / 0.9585 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.6625, allocations: 9.062 kB / 0.9585 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.6626, allocations: 11.94 kB / 0.9585 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.6626, allocations: 320.1 kB / 0.9588 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.6626, allocations: 8.672 kB / 0.9589 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.6627, allocations: 30.53 kB / 0.9589 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/0.6627, allocations: 56.31 kB / 0.9589 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6627, allocations: 1.312 kB / 0.9589 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.461e-05/0.6628, allocations: 67.66 kB / 0.959 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6629, allocations: 13.75 kB / 0.959 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6629, allocations: 4.969 kB / 0.959 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.6629, allocations: 1.156 kB / 0.959 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.605e-05/0.6629, allocations: 14.39 kB / 0.959 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.663, allocations: 1.125 kB / 0.959 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.663, allocations: 2.062 kB / 0.959 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.663, allocations: 6.344 kB / 0.959 GB, free: 4.598 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 5.35e-05/0.6631, allocations: 113 kB / 0.9592 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.6631, allocations: 4.969 kB / 0.9592 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.6631, allocations: 4.562 kB / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6631, allocations: 1.125 kB / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6631, allocations: 0 / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6631, allocations: 1.281 kB / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.884e-05/0.6632, allocations: 156.8 kB / 0.9593 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6632, allocations: 5.078 kB / 0.9593 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.6632, allocations: 6.156 kB / 0.9593 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6632, allocations: 3.938 kB / 0.9593 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.6633, allocations: 1.188 kB / 0.9593 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6633, allocations: 0 / 0.9593 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6633, allocations: 1.031 kB / 0.9593 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.6634, allocations: 89.92 kB / 0.9594 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.6634, allocations: 78.45 kB / 0.9595 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.6634, allocations: 5.25 kB / 0.9595 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.6634, allocations: 4 kB / 0.9595 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.6635, allocations: 1.438 kB / 0.9595 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.6635, allocations: 5.234 kB / 0.9595 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.28e-05/0.6635, allocations: 83.16 kB / 0.9596 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6635, allocations: 0 / 0.9596 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002479/0.6638, allocations: 26.38 kB / 0.9596 GB, free: 3.984 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.0003139/0.6641, allocations: 184.8 kB / 0.9598 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.438e-05/0.6642, allocations: 28.73 kB / 0.9598 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6642, allocations: 2.062 kB / 0.9598 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.6642, allocations: 11.81 kB / 0.9598 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.6644, allocations: 0 / 0.9598 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.6646, allocations: 135.3 kB / 0.96 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.474e-05/0.6647, allocations: 0.6828 MB / 0.9606 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.6647, allocations: 9.156 kB / 0.9606 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6647, allocations: 0 / 0.9606 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of Templates: time 0.002608/0.6673, allocations: 1.201 MB / 0.9618 GB, free: 2.367 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/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