Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001072/0.001072, allocations: 98.03 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.008646/0.008646, allocations: 169.2 kB / 16.26 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.453/1.453, 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 10.1.1-maint.10.0.x/package.mo): time 2.809/2.809, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005516/0.0005514, allocations: 8 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8547/0.8553, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001367/0.8567, allocations: 0.9448 MB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009758/0.8577, allocations: 418.6 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.8577, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.8577, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.036e-05/0.8578, allocations: 3.984 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.8583, allocations: 87.72 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.178e-05/0.8583, allocations: 23.94 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.8584, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.032e-05/0.8584, allocations: 11.92 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.8585, allocations: 8 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.8585, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.8587, allocations: 95.89 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.8587, allocations: 3.938 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.8588, allocations: 37.69 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.859, allocations: 95.75 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.859, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.154e-06/0.859, allocations: 4 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8591, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 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.0005038/0.8596, allocations: 379.1 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.8596, allocations: 8.031 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.8597, allocations: 0.9375 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.8598, allocations: 172.4 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.8598, allocations: 384 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.8598, allocations: 4.375 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.8599, allocations: 38.25 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.86, allocations: 4.188 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.86, allocations: 7.922 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.86, allocations: 0 / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.765e-05/0.86, allocations: 11.92 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.8602, allocations: 161.6 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.575e-05/0.8603, allocations: 26.58 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.8603, allocations: 12.94 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.8604, allocations: 8 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.8605, allocations: 55.34 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.8605, allocations: 0 / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002047/0.8607, allocations: 69.61 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.8608, allocations: 51.41 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.8609, allocations: 101.8 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.8609, allocations: 29.7 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.8609, allocations: 88.14 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.861, allocations: 3.906 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.861, allocations: 21.7 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.8611, allocations: 310.8 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.8611, allocations: 8 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.8612, allocations: 35.36 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.232e-05/0.8612, allocations: 43.44 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.8613, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.959e-05/0.8614, allocations: 77.41 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.8614, allocations: 15.92 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.8614, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.8614, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.8615, allocations: 16.03 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8615, allocations: 0 / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.8615, allocations: 8 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.8615, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 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.907e-05/0.8616, allocations: 114.3 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.8616, allocations: 3.938 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.8617, allocations: 11.48 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.8617, allocations: 4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8617, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8617, allocations: 4.422 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.8618, allocations: 153.7 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.8618, allocations: 0 / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.8618, allocations: 4 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8618, allocations: 3.938 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.8619, allocations: 4 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8619, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8619, allocations: 3.984 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.862, allocations: 89.02 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.862, allocations: 85.05 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.8621, allocations: 7.922 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.933e-05/0.8621, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.8621, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.8621, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.8622, allocations: 79.28 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8622, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000235/0.8624, allocations: 31.98 kB / 1.027 GB, free: 11.44 MB / 0.7794 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.0003368/0.8628, allocations: 164.5 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.8629, allocations: 35.86 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8629, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.428e-05/0.8629, allocations: 8 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.8631, allocations: 7.984 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.8633, allocations: 111.7 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.8636, allocations: 0.6809 MB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.825e-05/0.8636, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.8636, allocations: 11.44 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8636, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of Templates: time 0.003436/0.8671, allocations: 1.008 MB / 1.029 GB, free: 9.367 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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