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.001887/0.001887, allocations: 76.42 kB / 20.23 MB, free: 4.305 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.002034/0.002034, allocations: 161.3 kB / 23.54 MB, free: 0.9961 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.483/1.483, allocations: 177.1 MB / 203.9 MB, free: 5.629 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.77/2.77, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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 2.425e-06/2.425e-06, allocations: 3.938 kB / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.355e-05, allocations: 3.969 kB / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.003763/0.003796, allocations: 1.783 MB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.005668, allocations: 0.8208 MB / 0.7889 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.005792, allocations: 4 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.00595, allocations: 20.45 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.006317, allocations: 48.89 kB / 0.789 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.006878, allocations: 157.2 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.007278, allocations: 207.5 kB / 0.7893 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.007401, allocations: 25.62 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.007706, allocations: 113 kB / 0.7894 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.007907, allocations: 63.78 kB / 0.7895 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.007963, allocations: 20 kB / 0.7895 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.053e-05/0.008053, allocations: 33.58 kB / 0.7896 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.008155, allocations: 35.84 kB / 0.7896 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.008268, allocations: 55.88 kB / 0.7896 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.008643, allocations: 215.4 kB / 0.7898 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.008649, allocations: 4.5 kB / 0.7898 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.00865, allocations: 3.938 kB / 0.7899 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.008656, allocations: 3.438 kB / 0.7899 GB, free: 9.293 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.001018/0.009675, allocations: 399.3 kB / 0.7902 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.00972, allocations: 16.02 kB / 0.7903 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.009823, allocations: 20.84 kB / 0.7903 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.01023, allocations: 182.3 kB / 0.7904 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.01025, allocations: 4.375 kB / 0.7905 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.0103, allocations: 17.03 kB / 0.7905 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.01051, allocations: 83.88 kB / 0.7905 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.01052, allocations: 192 / 0.7905 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.01053, allocations: 4.375 kB / 0.7906 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.01056, allocations: 7.938 kB / 0.7906 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.01071, allocations: 51.97 kB / 0.7906 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.01145, allocations: 353.5 kB / 0.7909 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.01165, allocations: 83.7 kB / 0.791 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.659e-05/0.01172, allocations: 28.89 kB / 0.7911 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.01174, allocations: 0 / 0.7911 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.01191, allocations: 88.28 kB / 0.7911 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.01191, allocations: 0 / 0.7911 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003895/0.0123, allocations: 142.8 kB / 0.7913 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.01235, allocations: 51.41 kB / 0.7913 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.01262, allocations: 179.2 kB / 0.7915 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.01266, allocations: 29.7 kB / 0.7915 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.01277, allocations: 113.1 kB / 0.7916 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.01281, allocations: 27.89 kB / 0.7917 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.01291, allocations: 49.69 kB / 0.7917 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.01311, allocations: 323.6 kB / 0.792 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.01326, allocations: 81.67 kB / 0.7921 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.01343, allocations: 115.6 kB / 0.7922 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.01365, allocations: 125.7 kB / 0.7923 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01365, allocations: 0 / 0.7923 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005627/0.01422, allocations: 248.8 kB / 0.7926 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/0.01427, allocations: 42.22 kB / 0.7926 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01427, allocations: 0 / 0.7926 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.0143, allocations: 8.484 kB / 0.7926 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.01447, allocations: 20.52 kB / 0.7926 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.01447, allocations: 8.812 kB / 0.7926 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.01473, allocations: 28.72 kB / 0.7927 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.01476, allocations: 16.52 kB / 0.7927 GB, free: 6.18 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.0001524/0.01491, allocations: 131.1 kB / 0.7928 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.01494, allocations: 15.91 kB / 0.7928 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.01499, allocations: 21.45 kB / 0.7928 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01499, allocations: 1.281 kB / 0.7928 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01499, allocations: 4 kB / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.015, allocations: 0 / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.0152, allocations: 157.2 kB / 0.793 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.0152, allocations: 4.797 kB / 0.793 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.638e-05/0.01529, allocations: 12 kB / 0.793 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01529, allocations: 0.9375 kB / 0.793 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.01531, allocations: 4 kB / 0.793 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01531, allocations: 0 / 0.793 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01531, allocations: 1.219 kB / 0.793 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.01565, allocations: 177.3 kB / 0.7932 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.01571, allocations: 19.97 kB / 0.7932 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.01573, allocations: 0.9375 kB / 0.7932 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.01584, allocations: 11.98 kB / 0.7932 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.01589, allocations: 10.2 kB / 0.7932 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.0159, allocations: 0 / 0.7932 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001772/0.01608, allocations: 132.9 kB / 0.7934 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01608, allocations: 0 / 0.7934 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002729/0.01635, allocations: 39.89 kB / 0.7934 GB, free: 5.406 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.0001968/0.01654, allocations: 114.3 kB / 0.7935 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.01691, allocations: 193 kB / 0.7937 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01691, allocations: 0 / 0.7937 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.01699, allocations: 31.98 kB / 0.7937 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.01731, allocations: 37.56 kB / 0.7937 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.01795, allocations: 278 kB / 0.794 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.01806, allocations: 99.89 kB / 0.7941 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.182e-05/0.01813, allocations: 22.16 kB / 0.7941 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.01818, allocations: 13.84 kB / 0.7941 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01818, allocations: 4 kB / 0.7941 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of Templates: time 0.00645/0.02463, allocations: 2.136 MB / 0.7962 GB, free: 2.492 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 400] 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: 7.937059259973466]