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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001011/0.001011, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00699/0.00699, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.901/2.901, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003354, allocations: 11.94 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3553, allocations: 159.6 MB / 1.059 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.0013/0.3567, allocations: 0.9509 MB / 1.06 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000845/0.3575, allocations: 426.7 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.3576, allocations: 0 / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.3576, allocations: 0 / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.904e-05/0.3577, allocations: 0 / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.3581, allocations: 87.8 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.12e-05/0.3582, allocations: 19.92 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.3582, allocations: 7.984 kB / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.3582, allocations: 7.938 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.792e-05/0.3583, allocations: 7.984 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.3583, allocations: 0 / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.3585, allocations: 95.91 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.3585, allocations: 3.938 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.3586, allocations: 41.62 kB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.3587, allocations: 91.81 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3588, allocations: 4 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3588, allocations: 0 / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.3588, allocations: 0 / 1.06 GB, free: 3.785 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.0004386/0.3592, allocations: 381.4 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3593, allocations: 12.03 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.3593, allocations: 4.938 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.3594, allocations: 164.3 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.3594, allocations: 4.375 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.3595, allocations: 384 / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.961e-05/0.3596, allocations: 38.25 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3596, allocations: 4.188 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.3596, allocations: 7.922 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3596, allocations: 3.938 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.16e-05/0.3597, allocations: 8 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.3598, allocations: 153.7 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.448e-05/0.3599, allocations: 30.61 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.3599, allocations: 12.86 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.36, allocations: 0 / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.3601, allocations: 59.42 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.845e-06/0.3601, allocations: 3.984 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001987/0.3603, allocations: 65.62 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.3604, allocations: 59.39 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.3604, allocations: 105.8 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.3605, allocations: 29.7 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.3605, allocations: 80.14 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.3605, allocations: 19.8 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.3606, allocations: 9.719 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.3607, allocations: 318.8 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.3607, allocations: 4 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.3607, allocations: 39.36 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.967e-05/0.3608, allocations: 43.44 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3608, allocations: 3.938 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001006/0.3609, allocations: 69.61 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3609, allocations: 7.938 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3609, allocations: 96 / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.361, allocations: 11.94 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.974e-05/0.361, allocations: 4 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.361, allocations: 4 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.3611, allocations: 0 / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3611, allocations: 4 kB / 1.062 GB, free: 1.797 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 (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.489e-05/0.3612, allocations: 123.2 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.3612, allocations: 11.84 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.3612, allocations: 3.5 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3612, allocations: 4 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3612, allocations: 0 / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3612, allocations: 0 / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.3613, allocations: 153.7 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3613, allocations: 4 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.3614, allocations: 0 / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3614, allocations: 3.938 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3614, allocations: 3.984 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3614, allocations: 4 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3614, allocations: 0 / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.3615, allocations: 85.06 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.3616, allocations: 81.09 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3616, allocations: 3.938 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.3616, allocations: 12 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.3616, allocations: 480 / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.3617, allocations: 0 / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.3617, allocations: 87.25 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3617, allocations: 0 / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002402/0.3619, allocations: 32 kB / 1.063 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 (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.0003147/0.3623, allocations: 164 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.3624, allocations: 27.92 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3624, allocations: 0 / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.713e-05/0.3624, allocations: 15.98 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.3626, allocations: 8.188 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.3628, allocations: 118.5 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.363, allocations: 0.677 MB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.3631, allocations: 4 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.353e-05/0.3631, allocations: 7.438 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3631, allocations: 0 / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of Templates: time 0.003293/0.3664, allocations: 1.01 MB / 1.065 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