Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.006312/0.006312, allocations: 98.97 kB / 15.73 MB, free: 6.039 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.001404/0.001404, allocations: 199 kB / 16.68 MB, free: 5.965 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.593/2.593, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 65.95 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3396, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002314/0.342, allocations: 1.214 MB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009294/0.3429, allocations: 414.9 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.343, allocations: 4 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.343, allocations: 0 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.3431, allocations: 3.938 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.3436, allocations: 99.64 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.925e-05/0.3437, allocations: 19.92 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.3438, allocations: 7.984 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.346e-05/0.3438, allocations: 11.94 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.258e-05/0.3438, allocations: 7.984 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3438, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.3441, allocations: 91.91 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.3441, allocations: 7.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.3441, allocations: 11.92 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3443, allocations: 99.69 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3443, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3444, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3444, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 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.0005436/0.3449, allocations: 384.9 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.345, allocations: 12.03 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.345, allocations: 0.9375 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.3451, allocations: 160.4 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.3452, allocations: 12.36 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.3452, allocations: 4.375 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.3453, allocations: 39.67 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.3453, allocations: 192 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3453, allocations: 3.938 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3454, allocations: 4 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.373e-05/0.3454, allocations: 7.938 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.3456, allocations: 165.6 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.773e-05/0.3457, allocations: 22.58 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.3457, allocations: 12.86 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.3457, allocations: 4.078 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.3459, allocations: 59.39 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3459, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000213/0.3461, allocations: 77.5 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3462, allocations: 55.41 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.3463, allocations: 101.8 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.3463, allocations: 25.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.3463, allocations: 80.14 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.3463, allocations: 11.95 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.3464, allocations: 25.66 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3465, allocations: 318.8 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.3465, allocations: 8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.3466, allocations: 31.42 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.77e-05/0.3467, allocations: 51.73 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3467, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.961e-05/0.3468, allocations: 77.45 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3468, allocations: 7.938 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3468, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3468, allocations: 4 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.3469, allocations: 7.984 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3469, allocations: 4.094 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.3469, allocations: 8 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.347, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 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 8.158e-05/0.347, allocations: 109.8 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.3471, allocations: 7.938 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.3471, allocations: 7.5 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3471, allocations: 3.984 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3471, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3471, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.3472, allocations: 153.7 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3473, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.3473, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3473, allocations: 3.938 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3473, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3473, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3473, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.3474, allocations: 89.06 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.3475, allocations: 81.05 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.3475, allocations: 11.94 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.3475, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.3476, allocations: 3.984 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3476, allocations: 3.938 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.3476, allocations: 79.28 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3476, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003201/0.3479, allocations: 35.92 kB / 1.092 GB, free: 12.8 MB / 0.8575 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.0003389/0.3483, allocations: 174 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3484, allocations: 31.92 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3484, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/0.3485, allocations: 8 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.3486, allocations: 8 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.3489, allocations: 101.2 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3492, allocations: 0.6807 MB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.9e-05/0.3493, allocations: 4.25 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.3493, allocations: 7.438 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3493, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of Templates: time 0.003546/0.3528, allocations: 1.027 MB / 1.094 GB, free: 10.71 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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