Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.0008403/0.0008403, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0009626/0.0009626, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.9035/0.9035, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.768/1.768, allocations: 377.9 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.347e-06/3.347e-06, allocations: 3.938 kB / 0.9823 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.488e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001879/0.001913, allocations: 0.7054 MB / 0.9829 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.003008, allocations: 0.8276 MB / 0.9838 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.003053, allocations: 0 / 0.9838 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.00309, allocations: 3.938 kB / 0.9838 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.003168, allocations: 15.88 kB / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.00329, allocations: 15.97 kB / 0.9838 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.873e-05/0.003388, allocations: 43.86 kB / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.003503, allocations: 4 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.28e-05/0.003596, allocations: 31.95 kB / 0.9839 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.003648, allocations: 15.92 kB / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.003676, allocations: 0 / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.003686, allocations: 4 kB / 0.9839 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.003706, allocations: 11.98 kB / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.003734, allocations: 12 kB / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.003848, allocations: 43.84 kB / 0.984 GB, free: 304 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.003851, allocations: 8 kB / 0.984 GB, free: 296 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.553e-06/0.003853, allocations: 0 / 0.984 GB, free: 296 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003857, allocations: 0 / 0.984 GB, free: 296 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005045/0.004362, allocations: 286.2 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.004407, allocations: 8.031 kB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.004449, allocations: 8.891 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/0.004548, allocations: 109.7 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.004563, allocations: 384 / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.004576, allocations: 4.375 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.004799, allocations: 74.2 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.004809, allocations: 192 / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.004821, allocations: 4.375 kB / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.004827, allocations: 384 / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.005037, allocations: 67.86 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.005398, allocations: 204.6 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.00557, allocations: 62.47 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.005675, allocations: 32.92 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.005697, allocations: 0 / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.005721, allocations: 34.56 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.005722, allocations: 3.938 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0004344/0.006157, allocations: 137.5 kB / 0.985 GB, free: 15.15 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.006193, allocations: 59.34 kB / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.006274, allocations: 109.8 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.006288, allocations: 25.7 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.00633, allocations: 84.14 kB / 0.9852 GB, free: 14.85 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.006355, allocations: 15.84 kB / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.006388, allocations: 13.7 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.006487, allocations: 322.8 kB / 0.9856 GB, free: 14.49 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.006592, allocations: 27.97 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.666e-05/0.006689, allocations: 35.95 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.006882, allocations: 65.06 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006884, allocations: 4 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002449/0.007129, allocations: 101.5 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.007147, allocations: 11.94 kB / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.007152, allocations: 0 / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.007168, allocations: 0 / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.007277, allocations: 15.98 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.007282, allocations: 0 / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.007335, allocations: 15.97 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.007344, allocations: 4 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.255e-05/0.007417, allocations: 109.8 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.007443, allocations: 7.953 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.007728, allocations: 109.5 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.00773, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.007736, allocations: 8 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.00774, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.007876, allocations: 113.2 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.007878, allocations: 0 / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.756e-05/0.007946, allocations: 15.97 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.00795, allocations: 4 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.007959, allocations: 0 / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.007962, allocations: 3.938 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.007964, allocations: 0 / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.008235, allocations: 195.4 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.008245, allocations: 4 kB / 0.9864 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.00826, allocations: 7.922 kB / 0.9864 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.008345, allocations: 19.92 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.008388, allocations: 0 / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.008392, allocations: 0 / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.356e-05/0.008435, allocations: 95.56 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008436, allocations: 4 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002396/0.008675, allocations: 8 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001294/0.008805, allocations: 99.72 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.009068, allocations: 71.86 kB / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.00907, allocations: 0 / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.009175, allocations: 39.95 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.0095, allocations: 4 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.00987, allocations: 154.4 kB / 0.9868 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.375e-05/0.009924, allocations: 63.34 kB / 0.9869 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.009964, allocations: 12.5 kB / 0.9869 GB, free: 12.95 MB / 0.948 GB Notification: Performance of SimCode: time 8.42e-07/0.009965, allocations: 0 / 0.9869 GB, free: 12.95 MB / 0.948 GB Notification: Performance of Templates: time 0.002069/0.01203, allocations: 0.7716 MB / 0.9877 GB, free: 12.18 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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: 6.47002278547734]