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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001089/0.00109, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001763/0.001763, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.082/3.082, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004248, allocations: 8.938 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3842, allocations: 159.6 MB / 1.058 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.00173/0.386, allocations: 0.9354 MB / 1.059 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008684/0.3869, allocations: 391 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.3869, allocations: 0 / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.387, allocations: 0 / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.387, allocations: 0 / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.3876, allocations: 79.8 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.289e-05/0.3877, allocations: 19.92 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.3878, allocations: 3.984 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.672e-05/0.3878, allocations: 4 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.3879, allocations: 19.92 kB / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3879, allocations: 3.938 kB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.3882, allocations: 91.84 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.3882, allocations: 7.984 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.3882, allocations: 25.7 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.3884, allocations: 67.89 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3884, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3885, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3885, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.8106 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.0005355/0.389, allocations: 385.2 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3891, allocations: 8.031 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3891, allocations: 0 / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3893, allocations: 171 kB / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.3893, allocations: 0 / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3893, allocations: 11.89 kB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.3895, allocations: 37.69 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3895, allocations: 4 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3895, allocations: 0 / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3895, allocations: 0 / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/0.3896, allocations: 11.98 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.3898, allocations: 153.7 kB / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.579e-05/0.3898, allocations: 26.58 kB / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.3899, allocations: 16.88 kB / 1.06 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3899, allocations: 3.953 kB / 1.06 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.3901, allocations: 59.41 kB / 1.06 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.3901, allocations: 0 / 1.06 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000232/0.3903, allocations: 61.67 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.3904, allocations: 55.41 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.248e-05/0.3905, allocations: 106.1 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3905, allocations: 25.7 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.3906, allocations: 84.14 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.3906, allocations: 7.906 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-06/0.3906, allocations: 4 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3907, allocations: 318.8 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.3908, allocations: 4 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.3908, allocations: 31.44 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.3909, allocations: 16.03 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3909, allocations: 0 / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001128/0.391, allocations: 85.41 kB / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.391, allocations: 4 kB / 1.061 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.391, allocations: 3.938 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.391, allocations: 4 kB / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.3911, allocations: 4 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.3911, allocations: 12.08 kB / 1.061 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.657e-05/0.3912, allocations: 0 / 1.061 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.3912, allocations: 7.984 kB / 1.061 GB, free: 1.785 MB / 0.8106 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/0.3913, allocations: 117.9 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.3913, allocations: 7.953 kB / 1.061 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.3913, allocations: 3.5 kB / 1.061 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3914, allocations: 0 / 1.061 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3914, allocations: 0 / 1.061 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3914, allocations: 0 / 1.061 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.3915, allocations: 157.6 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3915, allocations: 7.938 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.3916, allocations: 3.984 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3916, allocations: 0 / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3916, allocations: 7.953 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3916, allocations: 0 / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3916, allocations: 4 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3917, allocations: 81.11 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.3918, allocations: 77.11 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3918, allocations: 0 / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.326e-05/0.3918, allocations: 3.953 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.3919, allocations: 8 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3919, allocations: 7.984 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.3919, allocations: 79.28 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3919, allocations: 0 / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002749/0.3922, allocations: 32 kB / 1.062 GB, free: 1.102 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003985/0.3926, allocations: 180.6 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.3927, allocations: 24 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3928, allocations: 0 / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.3928, allocations: 19.92 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.393, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.3933, allocations: 122.9 kB / 1.062 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.3936, allocations: 0.677 MB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.3936, allocations: 8.188 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.3936, allocations: 7.438 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.3936, allocations: 4 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of Templates: time 0.003792/0.3974, allocations: 0.9952 MB / 1.064 GB, free: 15.02 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