Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001721/0.001721, allocations: 108 kB / 15.6 MB, free: 132 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.002021/0.002021, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7451 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.61 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3472, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002263/0.3496, allocations: 1.217 MB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008878/0.3505, allocations: 420.8 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.3505, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.3505, allocations: 3.938 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.3506, allocations: 4 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.3511, allocations: 99.66 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.3512, allocations: 23.92 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.3512, allocations: 7.984 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.186e-05/0.3513, allocations: 7.938 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.867e-05/0.3513, allocations: 7.984 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3513, allocations: 4 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.3515, allocations: 95.84 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.3515, allocations: 11.92 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.3516, allocations: 7.938 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.3518, allocations: 87.88 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3518, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3518, allocations: 4 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3518, allocations: 0 / 1.07 GB, free: 8.5 MB / 0.8262 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.0004779/0.3523, allocations: 385.3 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3523, allocations: 12.03 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.3524, allocations: 4.922 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.3525, allocations: 160.4 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.3525, allocations: 4.375 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.3525, allocations: 4.375 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3526, allocations: 42.19 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.3527, allocations: 4.188 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3527, allocations: 3.938 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3527, allocations: 0 / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.268e-05/0.3527, allocations: 11.92 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.3529, allocations: 153.7 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.725e-05/0.353, allocations: 26.72 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.353, allocations: 16.84 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.353, allocations: 4 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.3532, allocations: 55.34 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3532, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002093/0.3534, allocations: 77.5 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.3535, allocations: 55.41 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.3535, allocations: 101.8 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.3536, allocations: 29.7 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.3536, allocations: 84.12 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3536, allocations: 11.91 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3537, allocations: 21.7 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3538, allocations: 310.8 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.3538, allocations: 15.94 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.3538, allocations: 27.42 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.3539, allocations: 51.38 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3539, allocations: 0 / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.052e-05/0.354, allocations: 69.55 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.354, allocations: 11.94 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.354, allocations: 0 / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3541, allocations: 4.094 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.3541, allocations: 8 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3541, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.3542, allocations: 11.84 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.3542, allocations: 4 kB / 1.072 GB, free: 6.496 MB / 0.8262 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.104e-05/0.3543, allocations: 117.9 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.3543, allocations: 7.938 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.3543, allocations: 7.5 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3543, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3543, allocations: 4 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3543, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.3544, allocations: 149.7 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3544, allocations: 4 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.3545, allocations: 4 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3545, allocations: 3.938 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3545, allocations: 3.984 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3545, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3545, allocations: 3.984 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.3546, allocations: 89.06 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.3547, allocations: 89 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.3547, allocations: 7.875 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.3547, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.3547, allocations: 4 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.3548, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.3548, allocations: 83.73 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3548, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002454/0.3551, allocations: 32 kB / 1.072 GB, free: 5.797 MB / 0.8262 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.0003247/0.3554, allocations: 164.9 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.3555, allocations: 35.92 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3555, allocations: 0 / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.3556, allocations: 11.98 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.3557, allocations: 12.19 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.3559, allocations: 100.8 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3562, allocations: 0.6768 MB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.3562, allocations: 7.938 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.3562, allocations: 7.438 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3562, allocations: 0 / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of Templates: time 0.0035/0.3597, allocations: 1.027 MB / 1.074 GB, free: 3.711 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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