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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007585/0.007585, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001752/0.001752, allocations: 190.8 kB / 16.79 MB, free: 6.254 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.413/1.413, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437 MB / 0.7106 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 59.91 kB / 0.8692 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5987/0.6, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.003139/0.6032, allocations: 1.284 MB / 1.019 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009822/0.6042, allocations: 422.7 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.6043, allocations: 0 / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.6044, allocations: 4 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.794e-05/0.6044, allocations: 0 / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.605, allocations: 87.78 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.555e-05/0.6051, allocations: 23.86 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.6052, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.525e-05/0.6052, allocations: 7.938 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.6053, allocations: 15.92 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.6053, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.6055, allocations: 91.91 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.6056, allocations: 7.984 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.6056, allocations: 15.92 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.6058, allocations: 59.91 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.6058, allocations: 8 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6058, allocations: 3.938 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.6059, allocations: 0 / 1.019 GB, free: 0.7461 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.0005993/0.6065, allocations: 375.2 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.6065, allocations: 8.031 kB / 1.02 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.6066, allocations: 4.938 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.6067, allocations: 168.3 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.6067, allocations: 384 / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.6068, allocations: 8.359 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.6069, allocations: 38.25 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.6069, allocations: 4.125 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.607, allocations: 3.938 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.607, allocations: 0 / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.607, allocations: 15.98 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.6072, allocations: 161.5 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.64e-05/0.6073, allocations: 30.61 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.6074, allocations: 12.86 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.6074, allocations: 4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.6076, allocations: 55.48 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.6076, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002552/0.6079, allocations: 73.55 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.6079, allocations: 51.41 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.608, allocations: 101.9 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.6081, allocations: 33.69 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.6081, allocations: 84.12 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.6081, allocations: 7.906 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.6082, allocations: 21.72 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6083, allocations: 314.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.6084, allocations: 8 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.346e-05/0.6084, allocations: 39.42 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.455e-05/0.6085, allocations: 39.38 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6085, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001207/0.6086, allocations: 73.47 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.6087, allocations: 9.969 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6087, allocations: 8.094 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.6087, allocations: 3.938 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.6088, allocations: 11.98 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6088, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.6088, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.6089, allocations: 4 kB / 1.021 GB, free: 14.75 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 9.981e-05/0.609, allocations: 110.4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.609, allocations: 3.938 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.609, allocations: 11.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.609, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.6091, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6091, allocations: 11.86 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.6092, allocations: 157.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6092, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/0.6092, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6093, allocations: 4.359 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.6093, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.6093, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6093, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.6094, allocations: 89.09 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.6095, allocations: 81.11 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.6095, allocations: 3.938 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.276e-05/0.6095, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.6096, allocations: 3.984 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.6096, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.6096, allocations: 79.28 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6096, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002982/0.6099, allocations: 35.98 kB / 1.022 GB, free: 14.05 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.0004486/0.6104, allocations: 169.8 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.6105, allocations: 27.98 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6106, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.668e-05/0.6106, allocations: 16.12 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.6108, allocations: 4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.6111, allocations: 140.3 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.6114, allocations: 0.677 MB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.6114, allocations: 11.42 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/0.6114, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.003732/0.6152, allocations: 1.202 MB / 1.024 GB, free: 11.75 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches