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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 79.75 kB / 20.23 MB, free: 4.168 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 157.4 kB / 23.55 MB, free: 0.8555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.619/1.619, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.951/2.951, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sta.y1|sta.y1_actual|sta.fil.y|sta.yLim",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.7863 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.322e-05, allocations: 3 kB / 0.7863 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.003794/0.003827, allocations: 1.797 MB / 0.7881 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.005609, allocations: 0.8357 MB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.005705, allocations: 4 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.005845, allocations: 16.7 kB / 0.7889 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.006103, allocations: 44.31 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.006591, allocations: 163 kB / 0.7891 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.006914, allocations: 207.5 kB / 0.7893 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.007027, allocations: 29.61 kB / 0.7894 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.007275, allocations: 115.7 kB / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.007452, allocations: 67.78 kB / 0.7895 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.007499, allocations: 20 kB / 0.7896 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.00758, allocations: 31.92 kB / 0.7896 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.123e-05/0.007662, allocations: 28.62 kB / 0.7896 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.719e-05/0.007759, allocations: 55.84 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.008101, allocations: 225 kB / 0.7899 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.008105, allocations: 0 / 0.7899 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.363e-06/0.008106, allocations: 0 / 0.7899 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.008112, allocations: 4 kB / 0.7899 GB, free: 9.082 MB / 0.7448 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.0008948/0.009006, allocations: 0.4948 MB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.009042, allocations: 8.031 kB / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.009123, allocations: 22.44 kB / 0.7904 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.009497, allocations: 193 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.009519, allocations: 8.375 kB / 0.7906 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.009559, allocations: 13.34 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.009731, allocations: 70.22 kB / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.009741, allocations: 192 / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.009758, allocations: 6 kB / 0.7907 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.009781, allocations: 3.938 kB / 0.7907 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.009929, allocations: 59.84 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.01063, allocations: 416 kB / 0.7911 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.0108, allocations: 83.69 kB / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.01086, allocations: 24.19 kB / 0.7912 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.01088, allocations: 0 / 0.7912 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.01103, allocations: 85.77 kB / 0.7913 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.01103, allocations: 1 kB / 0.7913 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003303/0.01136, allocations: 121.5 kB / 0.7914 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.01141, allocations: 51.41 kB / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.0117, allocations: 255.1 kB / 0.7917 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.01173, allocations: 31.08 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.01186, allocations: 170.8 kB / 0.7919 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.01191, allocations: 31.94 kB / 0.7919 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.01201, allocations: 51.36 kB / 0.792 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002951/0.01231, allocations: 0.509 MB / 0.7925 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.01245, allocations: 81.67 kB / 0.7926 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.01264, allocations: 120.7 kB / 0.7927 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.01283, allocations: 122.1 kB / 0.7928 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.01284, allocations: 4 kB / 0.7928 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004304/0.01327, allocations: 245.7 kB / 0.793 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/0.01332, allocations: 41.69 kB / 0.7931 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01332, allocations: 1.031 kB / 0.7931 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.01334, allocations: 0 / 0.7931 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.0135, allocations: 25.2 kB / 0.7931 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.0135, allocations: 0 / 0.7931 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.01369, allocations: 24.77 kB / 0.7931 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.01373, allocations: 15.98 kB / 0.7931 GB, free: 5.484 MB / 0.7448 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.0001557/0.01388, allocations: 178.7 kB / 0.7933 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.01391, allocations: 15.91 kB / 0.7933 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.01396, allocations: 17.45 kB / 0.7933 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01396, allocations: 4 kB / 0.7934 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.01396, allocations: 0 / 0.7934 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.01397, allocations: 3 kB / 0.7934 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.01419, allocations: 176.5 kB / 0.7935 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01419, allocations: 0 / 0.7935 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.024e-05/0.01427, allocations: 8 kB / 0.7935 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01427, allocations: 0 / 0.7935 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.01429, allocations: 7.984 kB / 0.7935 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.0143, allocations: 0 / 0.7935 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0143, allocations: 4 kB / 0.7935 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.0146, allocations: 173.6 kB / 0.7937 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.01466, allocations: 23.89 kB / 0.7937 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.01468, allocations: 0 / 0.7937 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.01476, allocations: 11.98 kB / 0.7937 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.01481, allocations: 4.562 kB / 0.7937 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.01482, allocations: 8.484 kB / 0.7938 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001937/0.01501, allocations: 180.8 kB / 0.7939 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01501, allocations: 0.5625 kB / 0.7939 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002398/0.01525, allocations: 36.72 kB / 0.794 GB, free: 4.59 MB / 0.7448 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.0001883/0.01544, allocations: 116.3 kB / 0.7941 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003589/0.0158, allocations: 207.2 kB / 0.7943 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.0158, allocations: 0.8125 kB / 0.7943 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.761e-05/0.0159, allocations: 47.61 kB / 0.7943 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.01618, allocations: 32.3 kB / 0.7943 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.01675, allocations: 271.7 kB / 0.7946 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.0171, allocations: 105.9 kB / 0.7947 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.388e-05/0.01716, allocations: 20.95 kB / 0.7947 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.0172, allocations: 12.5 kB / 0.7947 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.0172, allocations: 0 / 0.7947 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of Templates: time 0.006444/0.02365, allocations: 2.128 MB / 0.7968 GB, free: 1.652 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 240] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.24608082708437]