Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 106 kB / 15.99 MB, free: 6.355 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.001316/0.001316, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.74/2.74, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 72.59 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3129, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002371/0.3153, allocations: 1.272 MB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007685/0.3161, allocations: 398.8 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.3162, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.3162, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.793e-05/0.3162, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.3167, allocations: 87.78 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.08e-05/0.3167, allocations: 8 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.3168, allocations: 4 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.25e-05/0.3168, allocations: 15.92 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.284e-05/0.3168, allocations: 4 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.3169, allocations: 4 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.317, allocations: 91.84 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.3171, allocations: 7.969 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.3171, allocations: 7.938 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.3172, allocations: 59.91 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3172, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3172, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3172, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8419 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.0004403/0.3177, allocations: 347.6 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.3177, allocations: 8.625 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.3178, allocations: 0.9375 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3179, allocations: 172.6 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3179, allocations: 384 / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.3179, allocations: 4.312 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.62e-05/0.318, allocations: 42.25 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.318, allocations: 192 / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3181, allocations: 3.938 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3181, allocations: 4 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.3181, allocations: 7.984 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.3183, allocations: 161.5 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.835e-05/0.3183, allocations: 30.52 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.3184, allocations: 8.984 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.3184, allocations: 4 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.3185, allocations: 55.41 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3185, allocations: 0 / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0001871/0.3187, allocations: 73.59 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.3188, allocations: 55.34 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.3189, allocations: 101.8 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3189, allocations: 25.7 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.992e-05/0.3189, allocations: 80.14 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.319, allocations: 15.97 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.319, allocations: 21.72 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3191, allocations: 314.8 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.3191, allocations: 8 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/0.3192, allocations: 39.41 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.64e-05/0.3193, allocations: 43.38 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3193, allocations: 4 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001001/0.3194, allocations: 61.62 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3194, allocations: 11.94 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.3194, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.3194, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.3195, allocations: 15.92 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3195, allocations: 96 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.3195, allocations: 15.91 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3196, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 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.51e-05/0.3196, allocations: 116 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.3197, allocations: 3.938 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.3197, allocations: 7.5 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.3197, allocations: 7.938 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3197, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3197, allocations: 3.984 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.3198, allocations: 153.7 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.3199, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.3199, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3199, allocations: 3.938 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3199, allocations: 8 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3199, allocations: 0 / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3199, allocations: 4 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.32, allocations: 85.05 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.3201, allocations: 81.02 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3201, allocations: 11.94 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.3201, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.3202, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3202, allocations: 7.984 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.3202, allocations: 75.28 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3202, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002324/0.3205, allocations: 28 kB / 1.068 GB, free: 10.53 MB / 0.8419 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.000349/0.3208, allocations: 173 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.3209, allocations: 27.92 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3209, allocations: 4 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.321, allocations: 15.92 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.3211, allocations: 4 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.3213, allocations: 127 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.3216, allocations: 0.6768 MB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.3217, allocations: 7.438 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3217, allocations: 3.938 kB / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of Templates: time 0.002931/0.3246, allocations: 1.139 MB / 1.07 GB, free: 8.301 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches