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.001549/0.001549, allocations: 105.6 kB / 16.27 MB, free: 5.957 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.001783/0.001783, allocations: 190.3 kB / 17.2 MB, free: 5.59 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.194/2.194, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 61.97 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2965, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002968/0.2995, allocations: 1.21 MB / 0.9514 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009398/0.3005, allocations: 424.6 kB / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.3005, allocations: 0 / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.3005, allocations: 3.938 kB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.999e-05/0.3006, allocations: 0 / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.3013, allocations: 103.6 kB / 0.952 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.561e-05/0.3013, allocations: 19.92 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.3014, allocations: 4 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.588e-05/0.3014, allocations: 11.94 kB / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.285e-05/0.3015, allocations: 11.97 kB / 0.952 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3015, allocations: 4 kB / 0.952 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.3017, allocations: 95.84 kB / 0.9521 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.3018, allocations: 7.984 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.3018, allocations: 7.938 kB / 0.9521 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.302, allocations: 95.81 kB / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.302, allocations: 0 / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.302, allocations: 0 / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.302, allocations: 0 / 0.9522 GB, free: 6.898 MB / 0.7325 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.0005187/0.3026, allocations: 381.4 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3026, allocations: 12.03 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.3027, allocations: 4.875 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.3028, allocations: 172.3 kB / 0.9527 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3028, allocations: 4.375 kB / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.3028, allocations: 384 / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.303, allocations: 38.25 kB / 0.9528 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.303, allocations: 4.125 kB / 0.9528 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.303, allocations: 3.938 kB / 0.9528 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.303, allocations: 4 kB / 0.9528 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.607e-05/0.3031, allocations: 8 kB / 0.9528 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.3032, allocations: 157.7 kB / 0.953 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.012e-05/0.3033, allocations: 26.58 kB / 0.953 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.3034, allocations: 12.94 kB / 0.953 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/0.3034, allocations: 0 / 0.953 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.3035, allocations: 59.34 kB / 0.9531 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3036, allocations: 0 / 0.9531 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002153/0.3038, allocations: 73.59 kB / 0.9531 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.3038, allocations: 59.34 kB / 0.9532 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.3039, allocations: 101.8 kB / 0.9533 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.3039, allocations: 25.7 kB / 0.9533 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.304, allocations: 80.14 kB / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.304, allocations: 19.81 kB / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.3041, allocations: 17.72 kB / 0.9534 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3042, allocations: 318.8 kB / 0.9537 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.3042, allocations: 8 kB / 0.9537 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.3043, allocations: 43.34 kB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.098e-05/0.3043, allocations: 43.38 kB / 0.9538 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3043, allocations: 0 / 0.9538 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001275/0.3045, allocations: 65.62 kB / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3045, allocations: 7.938 kB / 0.9539 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3045, allocations: 3.984 kB / 0.9539 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3045, allocations: 4 kB / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.3046, allocations: 4 kB / 0.9539 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3046, allocations: 8.094 kB / 0.9539 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.3046, allocations: 4 kB / 0.9539 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3047, allocations: 4 kB / 0.9539 GB, free: 4.898 MB / 0.7325 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.291e-05/0.3047, allocations: 119.6 kB / 0.954 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.3048, allocations: 11.84 kB / 0.954 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.3048, allocations: 11.48 kB / 0.954 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3048, allocations: 0 / 0.954 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3048, allocations: 0 / 0.954 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3048, allocations: 0 / 0.954 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.3049, allocations: 153.7 kB / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.305, allocations: 4 kB / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-05/0.305, allocations: 4 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.305, allocations: 3.938 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.305, allocations: 4 kB / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.305, allocations: 0 / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.305, allocations: 4 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.3052, allocations: 85.05 kB / 0.9543 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.3052, allocations: 81.11 kB / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3052, allocations: 3.938 kB / 0.9544 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.308e-05/0.3053, allocations: 7.984 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.3053, allocations: 0 / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.3053, allocations: 480 / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.3053, allocations: 79.28 kB / 0.9544 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3053, allocations: 0 / 0.9544 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000262/0.3056, allocations: 39.98 kB / 0.9545 GB, free: 4.199 MB / 0.7325 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.0003422/0.306, allocations: 171.7 kB / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.3061, allocations: 27.92 kB / 0.9547 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3061, allocations: 0 / 0.9547 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.207e-05/0.3061, allocations: 12 kB / 0.9547 GB, free: 4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.3063, allocations: 7.984 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.3066, allocations: 134.8 kB / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.3068, allocations: 0.6844 MB / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.3069, allocations: 7.438 kB / 0.9555 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of SimCode: time 4.3e-07/0.3069, allocations: 0 / 0.9555 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of Templates: time 0.00316/0.31, allocations: 1.218 MB / 0.9567 GB, free: 1.891 MB / 0.7325 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches