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.001417/0.001417, allocations: 102.4 kB / 16.35 MB, free: 5.824 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.001532/0.001532, allocations: 196.8 kB / 17.3 MB, free: 5.48 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.408/2.408, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 60.36 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2999, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002337/0.3023, allocations: 1.215 MB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008228/0.3031, allocations: 424.1 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.3032, allocations: 0 / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.3032, allocations: 0 / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.3032, allocations: 0 / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.3038, allocations: 107.6 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.886e-05/0.3038, allocations: 19.98 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.3039, allocations: 0 / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.3039, allocations: 11.94 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.901e-05/0.3039, allocations: 11.98 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.304, allocations: 0 / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.3041, allocations: 103.8 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.3042, allocations: 7.922 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.3042, allocations: 8 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.3044, allocations: 91.81 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3044, allocations: 0 / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3044, allocations: 4 kB / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.3044, allocations: 0 / 1.021 GB, free: 7.844 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.0004766/0.3049, allocations: 389 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.3049, allocations: 8.922 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.305, allocations: 4.844 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3051, allocations: 168.4 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3051, allocations: 8.312 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3051, allocations: 4.375 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.3052, allocations: 34.25 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.3052, allocations: 4.172 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.3052, allocations: 3.938 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3052, allocations: 4 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.951e-05/0.3053, allocations: 7.984 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.3054, allocations: 153.7 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/0.3055, allocations: 30.52 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.3055, allocations: 16.94 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.3056, allocations: 4 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.3057, allocations: 55.41 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3057, allocations: 0 / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001809/0.3059, allocations: 69.61 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3059, allocations: 55.34 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.306, allocations: 101.8 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.306, allocations: 29.7 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.306, allocations: 80.14 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.3061, allocations: 11.81 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.3061, allocations: 29.7 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.3062, allocations: 310.8 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.3062, allocations: 8 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.3063, allocations: 35.42 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.638e-05/0.3063, allocations: 47.38 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3064, allocations: 0 / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001019/0.3065, allocations: 69.61 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3065, allocations: 7.938 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3065, allocations: 8.094 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.3065, allocations: 0 / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.3066, allocations: 11.94 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3066, allocations: 3.984 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.3066, allocations: 4.094 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3066, allocations: 8 kB / 1.022 GB, free: 5.836 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 6.715e-05/0.3067, allocations: 113.8 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.3067, allocations: 11.83 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.3067, allocations: 7.922 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3068, allocations: 0 / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3068, allocations: 4 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3068, allocations: 3.938 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.3069, allocations: 153.7 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3069, allocations: 7.984 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.3069, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3069, allocations: 3.938 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3069, allocations: 4 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3069, allocations: 0 / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3069, allocations: 0 / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.3071, allocations: 89.05 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.3071, allocations: 81.11 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.3071, allocations: 11.92 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.3072, allocations: 0 / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.3072, allocations: 0 / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.3072, allocations: 4 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.732e-05/0.3072, allocations: 75.28 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3072, allocations: 0 / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002385/0.3075, allocations: 39.98 kB / 1.023 GB, free: 5.137 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.0003001/0.3078, allocations: 161.3 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.3079, allocations: 35.92 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3079, allocations: 0 / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.3079, allocations: 11.98 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.3081, allocations: 10.34 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.3083, allocations: 105.3 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.3085, allocations: 0.6808 MB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.741e-05/0.3086, allocations: 4 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.3086, allocations: 7.438 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3086, allocations: 0 / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of Templates: time 0.003263/0.3119, allocations: 1.028 MB / 1.025 GB, free: 3.055 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=480 -s gbode -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) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y