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.01008/0.01008, allocations: 98.05 kB / 15.73 MB, free: 5.551 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.001944/0.001944, allocations: 192.7 kB / 16.67 MB, free: 5.473 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 14.94 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.765/2.765, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 55.91 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9023/0.9041, allocations: 159.1 MB / 1.221 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002893/0.9069, allocations: 1.774 MB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.9083, allocations: 0.8308 MB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.051e-05/0.9084, allocations: 4 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.9085, allocations: 15.8 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.9088, allocations: 49.34 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.9092, allocations: 165.5 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.9095, allocations: 207.6 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.9096, allocations: 29.39 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.9097, allocations: 83.75 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.9099, allocations: 79.67 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.9099, allocations: 20 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.91, allocations: 31.98 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.006e-05/0.9101, allocations: 43.77 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.724e-05/0.9102, allocations: 71.66 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.9104, allocations: 204.3 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9104, allocations: 0 / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9104, allocations: 3.938 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.9104, allocations: 0 / 1.224 GB, free: 14.64 MB / 0.9512 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.0007612/0.9112, allocations: 480.5 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.9112, allocations: 8.625 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.9113, allocations: 16.84 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.9116, allocations: 244.7 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.9116, allocations: 8.375 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.9117, allocations: 12.38 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.9118, allocations: 85.2 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.9118, allocations: 0 / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.9119, allocations: 8 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.9119, allocations: 4 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.912, allocations: 63.95 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.9126, allocations: 440.4 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.9128, allocations: 90.55 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.9129, allocations: 36.84 kB / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.9129, allocations: 0 / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.913, allocations: 79.38 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.913, allocations: 0 / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002898/0.9133, allocations: 133.5 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.9133, allocations: 51.41 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.9135, allocations: 183.3 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.9136, allocations: 33.7 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.9136, allocations: 108.5 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.9137, allocations: 35.81 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.9138, allocations: 41.7 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9139, allocations: 322.8 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.914, allocations: 55.91 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.9141, allocations: 71.92 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.9143, allocations: 140.1 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.9143, allocations: 0 / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003311/0.9146, allocations: 207.2 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.9147, allocations: 37.69 kB / 1.227 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.9147, allocations: 0 / 1.227 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.9147, allocations: 4 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.9148, allocations: 32.05 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.9148, allocations: 3.938 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.9151, allocations: 27.97 kB / 1.227 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.9151, allocations: 7.984 kB / 1.227 GB, free: 11.36 MB / 0.9512 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.0001188/0.9152, allocations: 134.3 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.9152, allocations: 11.91 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.9153, allocations: 17.39 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.9153, allocations: 4 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.9153, allocations: 7.938 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.9153, allocations: 0 / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.9155, allocations: 229.7 kB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9155, allocations: 0 / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.9156, allocations: 11.98 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.9156, allocations: 4 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.9156, allocations: 4 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.9156, allocations: 3.938 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9156, allocations: 3.938 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.9158, allocations: 172.9 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.06e-05/0.9159, allocations: 97.06 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.9159, allocations: 4 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.916, allocations: 7.984 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.9161, allocations: 7.938 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.9161, allocations: 4 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001423/0.9162, allocations: 131.9 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.9162, allocations: 4.25 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002358/0.9165, allocations: 35.89 kB / 1.228 GB, free: 10.38 MB / 0.9512 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.0001501/0.9166, allocations: 111.1 kB / 1.228 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.9169, allocations: 159.3 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9169, allocations: 0 / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.917, allocations: 35.92 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.9172, allocations: 34.12 kB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.9178, allocations: 292.7 kB / 1.228 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.9181, allocations: 0.7158 MB / 1.229 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.673e-05/0.9181, allocations: 16.88 kB / 1.229 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.9181, allocations: 15.44 kB / 1.229 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.9182, allocations: 0 / 1.229 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of Templates: time 0.004918/0.9231, allocations: 1.983 MB / 1.231 GB, free: 6.977 MB / 0.9512 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=480 -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/jenkins/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