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.00635/0.00635, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001452/0.001452, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.334/2.334, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9428/0.9441, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002186/0.9463, allocations: 1.222 MB / 1.089 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008684/0.9472, allocations: 419.1 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.9472, allocations: 0 / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.9472, allocations: 1.156 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.9473, allocations: 3.938 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.9478, allocations: 106.5 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.93e-05/0.9479, allocations: 19.06 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.948, allocations: 11.47 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.948, allocations: 4.453 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.3e-05/0.948, allocations: 10.39 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.9481, allocations: 0.9375 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.9483, allocations: 103.4 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.9483, allocations: 3.109 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.9484, allocations: 12.64 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.9486, allocations: 94.22 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9486, allocations: 1.953 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9486, allocations: 4 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.9486, allocations: 0 / 1.09 GB, free: 4.246 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.0004572/0.9491, allocations: 380.8 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.9491, allocations: 10.05 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.9492, allocations: 6.562 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.263e-05/0.9492, allocations: 162.8 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.9493, allocations: 1.844 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.9493, allocations: 3.406 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.9494, allocations: 44.88 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.9494, allocations: 192 / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.9494, allocations: 3.938 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.9495, allocations: 1.188 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.9495, allocations: 4.828 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.9496, allocations: 154.6 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.628e-05/0.9497, allocations: 33.08 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.9498, allocations: 14.44 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.9498, allocations: 5 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.9499, allocations: 54.11 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.9499, allocations: 0 / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002161/0.9501, allocations: 73.52 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.9502, allocations: 52.78 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.033e-05/0.9502, allocations: 105.9 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.9503, allocations: 33.7 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.108e-05/0.9503, allocations: 85.95 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.9503, allocations: 6.672 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.9503, allocations: 24.34 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.9504, allocations: 318 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.9504, allocations: 6.328 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.612e-05/0.9505, allocations: 36.78 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.602e-05/0.9505, allocations: 49.47 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9505, allocations: 1.125 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.986e-05/0.9506, allocations: 73.77 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.9507, allocations: 9.594 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.9507, allocations: 5.406 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9507, allocations: 1.281 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.9508, allocations: 7.703 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.9508, allocations: 2.25 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.9508, allocations: 3.688 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.9508, allocations: 2.219 kB / 1.092 GB, free: 2.484 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 5.68e-05/0.9509, allocations: 113.4 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.9509, allocations: 10.83 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.951, allocations: 4.297 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.951, allocations: 9.062 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.951, allocations: 0 / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.951, allocations: 1.797 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.769e-05/0.9511, allocations: 153.7 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9511, allocations: 4.688 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/0.9511, allocations: 2.188 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9511, allocations: 4.844 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.9511, allocations: 2.062 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9511, allocations: 0 / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9511, allocations: 0.5156 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.9512, allocations: 84.94 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.9513, allocations: 83.78 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.9513, allocations: 5.578 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.32e-05/0.9513, allocations: 4.797 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.9513, allocations: 5.703 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.9513, allocations: 3.547 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.287e-05/0.9514, allocations: 78.94 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9514, allocations: 0.9062 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002607/0.9516, allocations: 40.61 kB / 1.092 GB, free: 1.871 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.0003319/0.952, allocations: 162.9 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.9521, allocations: 25.75 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.9521, allocations: 1.094 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.065e-05/0.9522, allocations: 20.81 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.9523, allocations: 2.641 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.9525, allocations: 104.7 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.9527, allocations: 0.6776 MB / 1.093 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.081e-05/0.9527, allocations: 3.031 kB / 1.093 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.512e-05/0.9527, allocations: 8.875 kB / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.9527, allocations: 1.031 kB / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of Templates: time 0.003763/0.9565, allocations: 1.022 MB / 1.094 GB, free: 0.8047 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