Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001629/0.001629, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.858/2.858, allocations: 437.7 MB / 0.7117 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004473, allocations: 8 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8858/0.8863, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001446/0.8878, allocations: 382.2 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002276/0.8881, allocations: 15.97 kB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.8882, allocations: 7.938 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.8883, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.8884, allocations: 4 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.8885, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.8887, allocations: 43.91 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.8889, allocations: 23.98 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.502e-05/0.8889, allocations: 7.938 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.889, allocations: 3.938 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.889, allocations: 4 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.8891, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.8891, allocations: 7.984 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.8892, allocations: 33.64 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.8893, allocations: 39.92 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.8893, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8893, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.8893, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004903/0.8898, allocations: 349.1 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.8899, allocations: 8.562 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.89, allocations: 4 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.8903, allocations: 182.9 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.8903, allocations: 0 / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.8903, allocations: 7.938 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.8906, allocations: 81.61 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.8906, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.8907, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.8907, allocations: 8 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.8908, allocations: 47.97 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.8917, allocations: 483.1 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.8919, allocations: 165.1 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.8919, allocations: 88.14 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.892, allocations: 79.28 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.525e-05/0.8921, allocations: 109.8 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.923e-06/0.8921, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001296/0.8922, allocations: 29.81 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.8924, allocations: 134.6 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.8929, allocations: 175.6 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.8929, allocations: 25.7 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.893, allocations: 96.14 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/0.8931, allocations: 0 / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.8931, allocations: 0 / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002273/0.8933, allocations: 322.8 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.32e-05/0.8934, allocations: 4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.8934, allocations: 11.98 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.448e-05/0.8935, allocations: 11.92 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8935, allocations: 0 / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002517/0.8938, allocations: 57.66 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.8938, allocations: 4 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.8938, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.8939, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.894, allocations: 4 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.894, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.8941, allocations: 7.953 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.8941, allocations: 4 kB / 1.025 GB, free: 12.81 MB / 0.7794 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.8944, allocations: 197.1 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.8945, allocations: 112.8 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.8946, allocations: 112.8 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001121/0.8948, allocations: 180.3 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001258/0.8949, allocations: 180.2 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000127/0.8951, allocations: 180.2 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.8955, allocations: 441.1 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-05/0.8956, allocations: 101 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/0.8957, allocations: 105 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.8958, allocations: 180.2 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.8959, allocations: 180.3 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001069/0.8961, allocations: 188.2 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.762e-05/0.8962, allocations: 180.3 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.8964, allocations: 315.6 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.8966, allocations: 190.1 kB / 1.028 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.8968, allocations: 180.2 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.897, allocations: 105 kB / 1.028 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.8971, allocations: 188.1 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-05/0.8972, allocations: 105 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001907/0.8974, allocations: 133 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3e-07/0.8974, allocations: 0 / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00041/0.8978, allocations: 4 kB / 1.029 GB, free: 9.105 MB / 0.7794 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002833/0.8981, allocations: 186.5 kB / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.8983, allocations: 4.344 kB / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.8983, allocations: 4 kB / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.676e-06/0.8983, allocations: 7.938 kB / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.8991, allocations: 0.5224 MB / 1.029 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.8995, allocations: 218.1 kB / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.9, allocations: 0.6926 MB / 1.03 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.116e-05/0.9001, allocations: 7.984 kB / 1.03 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.9001, allocations: 7.438 kB / 1.03 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of SimCode: time 8.22e-07/0.9001, allocations: 4 kB / 1.03 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of Templates: time 0.004245/0.9044, allocations: 437.9 kB / 1.031 GB, free: 6.961 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches