Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.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.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.y1|sta.y1_actual|sta.fil.y|sta.yLim",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator") translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.y1|sta.y1_actual|sta.fil.y|sta.yLim",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 108.1 kB / 15.99 MB, free: 6.348 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.001541/0.001541, allocations: 191.3 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.4/1.4, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.717/2.717, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 61 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3226, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.00313/0.3258, allocations: 1.834 MB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3272, allocations: 0.8222 MB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.3273, allocations: 4 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.3275, allocations: 7.875 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.3277, allocations: 35.83 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.3282, allocations: 150.8 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.3285, allocations: 215.6 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3286, allocations: 41.42 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.3288, allocations: 75.77 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.3289, allocations: 79.66 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.329, allocations: 16 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.515e-05/0.3291, allocations: 28 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.831e-05/0.3291, allocations: 39.84 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.95e-05/0.3292, allocations: 79.64 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.3295, allocations: 151.9 kB / 1.068 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3295, allocations: 0 / 1.068 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3295, allocations: 0 / 1.068 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.3295, allocations: 4 kB / 1.068 GB, free: 11.56 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008629/0.3304, allocations: 480.5 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3304, allocations: 8.625 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.3305, allocations: 16.75 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.3309, allocations: 244.7 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.3309, allocations: 8.375 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.3309, allocations: 12.38 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3311, allocations: 89.91 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3311, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3312, allocations: 8 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.3312, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3313, allocations: 59.91 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006872/0.332, allocations: 444.5 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3322, allocations: 90.56 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.3323, allocations: 28.86 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.3323, allocations: 0 / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.3324, allocations: 83.36 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3325, allocations: 4 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0003057/0.3328, allocations: 133.4 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.3328, allocations: 55.34 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.3331, allocations: 183.4 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.3331, allocations: 29.7 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.072e-05/0.3332, allocations: 108 kB / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.3332, allocations: 35.48 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.3333, allocations: 41.7 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3335, allocations: 326.8 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3336, allocations: 51.97 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3338, allocations: 74.55 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.334, allocations: 128.2 kB / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.334, allocations: 4 kB / 1.07 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003694/0.3344, allocations: 207.3 kB / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.3344, allocations: 33.7 kB / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3344, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3344, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.3346, allocations: 31.97 kB / 1.07 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3346, allocations: 7.938 kB / 1.071 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.3349, allocations: 28.34 kB / 1.071 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.3349, allocations: 20.03 kB / 1.071 GB, free: 8.277 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,sta.y1_actual,y1.y,$PRE.y1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000127/0.3351, allocations: 133.7 kB / 1.071 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.3351, allocations: 11.91 kB / 1.071 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.3351, allocations: 17.33 kB / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3351, allocations: 4 kB / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3351, allocations: 3.938 kB / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3352, allocations: 0 / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.3354, allocations: 229.5 kB / 1.071 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3354, allocations: 0 / 1.071 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.068e-05/0.3355, allocations: 15.98 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3355, allocations: 0 / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.3355, allocations: 8 kB / 1.071 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3355, allocations: 0 / 1.071 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3355, allocations: 3.938 kB / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.3358, allocations: 160.9 kB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.72e-05/0.3359, allocations: 104.9 kB / 1.071 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.3359, allocations: 0 / 1.071 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/0.336, allocations: 16.05 kB / 1.071 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3361, allocations: 11.88 kB / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.3361, allocations: 0 / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001557/0.3363, allocations: 136.9 kB / 1.071 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3363, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002479/0.3365, allocations: 32 kB / 1.071 GB, free: 7.312 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (sta.fil.s[1],sta.fil.s[2]) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,y1.y,sta.y1_actual) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001542/0.3367, allocations: 99.25 kB / 1.071 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.337, allocations: 187.3 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.337, allocations: 0 / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.3371, allocations: 43.92 kB / 1.072 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.3374, allocations: 32.38 kB / 1.072 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.338, allocations: 353.1 kB / 1.072 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3384, allocations: 0.7197 MB / 1.073 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.3384, allocations: 15.44 kB / 1.073 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3385, allocations: 4 kB / 1.073 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of Templates: time 0.004147/0.3426, allocations: 1.932 MB / 1.075 GB, free: 3.871 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.makefile (rm -f Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & ./Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Controls_Validation_StatusEmulator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches