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.001639/0.001639, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001755/0.001755, allocations: 193.6 kB / 16.14 MB, free: 6.719 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.596/1.596, allocations: 222.9 MB / 239.8 MB, free: 4.637 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 3.035/3.035, allocations: 437 MB / 0.71 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 67.89 kB / 0.8686 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8993/0.9015, allocations: 151.6 MB / 1.017 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002572/0.9041, allocations: 1.291 MB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009167/0.9051, allocations: 426.7 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.9051, allocations: 0 / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.9051, allocations: 0 / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.9052, allocations: 3.984 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.9057, allocations: 83.8 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.577e-05/0.9058, allocations: 19.92 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.9058, allocations: 4 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.9058, allocations: 11.92 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.165e-05/0.9059, allocations: 11.92 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.9059, allocations: 4 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.9061, allocations: 95.84 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.9061, allocations: 3.984 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.9062, allocations: 11.94 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.9064, allocations: 87.88 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.9064, allocations: 8 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.554e-06/0.9064, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.9064, allocations: 3.938 kB / 1.019 GB, free: 0.8047 MB / 0.7637 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.0005825/0.907, allocations: 379.2 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.907, allocations: 8.031 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.9071, allocations: 8.922 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.9072, allocations: 164.3 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.9073, allocations: 384 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.9073, allocations: 8.375 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.9074, allocations: 42.19 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.9074, allocations: 192 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.9075, allocations: 7.875 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.9075, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.454e-05/0.9075, allocations: 7.984 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.9077, allocations: 157.6 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.064e-05/0.9078, allocations: 26.72 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.9079, allocations: 20.84 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.9079, allocations: 4 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.9081, allocations: 55.34 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.9081, allocations: 0 / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002423/0.9083, allocations: 69.61 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.9084, allocations: 51.41 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.9085, allocations: 106 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.9085, allocations: 33.7 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.9086, allocations: 80.14 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.9086, allocations: 15.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.9087, allocations: 25.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.9088, allocations: 310.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.9089, allocations: 7.938 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.984e-05/0.9089, allocations: 43.36 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.244e-05/0.909, allocations: 43.38 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.909, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001103/0.9091, allocations: 69.61 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.9091, allocations: 7.938 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9092, allocations: 8.094 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.9092, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.569e-05/0.9092, allocations: 8 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.9093, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.9093, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.9093, allocations: 4 kB / 1.02 GB, free: 14.81 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 0.000103/0.9094, allocations: 122.3 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.9094, allocations: 7.844 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.9095, allocations: 3.5 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.9095, allocations: 8 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9095, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.9095, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.9096, allocations: 153.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9096, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.9097, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.9097, allocations: 7.938 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.9097, allocations: 7.984 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9097, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9097, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.9098, allocations: 89 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.9099, allocations: 85.09 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.9099, allocations: 7.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.91, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.91, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.91, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.995e-05/0.91, allocations: 79.27 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.91, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002539/0.9103, allocations: 32 kB / 1.021 GB, free: 14.11 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.0003836/0.9107, allocations: 162.9 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.9108, allocations: 31.92 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9108, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.026e-05/0.9109, allocations: 16.17 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.911, allocations: 5.719 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.9113, allocations: 112.5 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.9117, allocations: 0.6809 MB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.964e-05/0.9118, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.9118, allocations: 11.44 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.9118, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of Templates: time 0.003909/0.9157, allocations: 1.015 MB / 1.023 GB, free: 12.04 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=400 -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