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.001787/0.001787, allocations: 104.8 kB / 16.27 MB, free: 6.418 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.00208/0.00208, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.1 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 69.55 kB / 0.8699 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.296, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002279/0.2983, allocations: 1.216 MB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008197/0.2991, allocations: 420.2 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.2992, allocations: 0 / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.2992, allocations: 7.922 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.634e-05/0.2993, allocations: 0 / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.2997, allocations: 99.66 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.2998, allocations: 23.92 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.2999, allocations: 7.984 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.2999, allocations: 7.938 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.894e-05/0.2999, allocations: 11.98 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.2999, allocations: 0 / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.3001, allocations: 95.84 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.3002, allocations: 7.938 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.3002, allocations: 11.98 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.3004, allocations: 87.81 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3004, allocations: 0 / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3004, allocations: 0 / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3004, allocations: 7.938 kB / 1.02 GB, free: 8.66 MB / 0.795 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.000496/0.3009, allocations: 385.3 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.3009, allocations: 12.92 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.301, allocations: 4.844 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.3011, allocations: 172.4 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3011, allocations: 384 / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3012, allocations: 4.375 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.3013, allocations: 42.19 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3013, allocations: 4.188 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3013, allocations: 3.938 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.3013, allocations: 0 / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.3013, allocations: 4 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.3015, allocations: 157.7 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/0.3016, allocations: 26.58 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.3017, allocations: 12.95 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.3017, allocations: 3.984 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.3018, allocations: 59.34 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.3018, allocations: 0 / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001958/0.302, allocations: 69.61 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3021, allocations: 55.41 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.308e-05/0.3022, allocations: 101.8 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3022, allocations: 25.7 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.3022, allocations: 88.14 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.3023, allocations: 19.73 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.3023, allocations: 17.72 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3024, allocations: 318.8 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.3025, allocations: 8 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.3025, allocations: 31.42 kB / 1.021 GB, free: 6.828 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.3026, allocations: 47.38 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3026, allocations: 0 / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000114/0.3027, allocations: 66 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3027, allocations: 11.88 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3027, allocations: 0 / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3028, allocations: 7.984 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.3028, allocations: 8.094 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3028, allocations: 7.938 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/0.3029, allocations: 0 / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3029, allocations: 8.047 kB / 1.022 GB, free: 6.656 MB / 0.795 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.525e-05/0.303, allocations: 110.9 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.303, allocations: 15.83 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.303, allocations: 7.484 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.303, allocations: 0 / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.303, allocations: 3.938 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.303, allocations: 4 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.3032, allocations: 157.7 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3032, allocations: 4 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.3032, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3032, allocations: 3.938 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.3032, allocations: 0 / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3032, allocations: 4 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3032, allocations: 0 / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.3034, allocations: 89.05 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.3034, allocations: 81.11 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3035, allocations: 3.938 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.3035, allocations: 4 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.3035, allocations: 3.984 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.3035, allocations: 0 / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.3036, allocations: 79.28 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3036, allocations: 0 / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002437/0.3038, allocations: 35.98 kB / 1.022 GB, free: 5.961 MB / 0.795 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.000344/0.3042, allocations: 158.3 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.3043, allocations: 35.91 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3043, allocations: 4 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.3043, allocations: 8 kB / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.3045, allocations: 11.92 kB / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.3047, allocations: 142.8 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.305, allocations: 0.6768 MB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.305, allocations: 7.438 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3051, allocations: 0 / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of Templates: time 0.003021/0.3081, allocations: 1.214 MB / 1.024 GB, free: 3.652 MB / 0.795 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/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