Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.002018/0.002018, allocations: 80.25 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002539/0.002539, allocations: 164.7 kB / 22.46 MB, free: 5.359 MB / 14.72 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.749/2.749, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 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.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.892e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2187/0.2187, allocations: 149.5 MB / 1.097 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6493/0.868, allocations: 6.51 MB / 1.103 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006402/0.8686, allocations: 20.84 kB / 1.103 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007407/0.8694, allocations: 178.9 kB / 1.103 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005117/0.8745, allocations: 1.329 MB / 1.105 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.877, allocations: 0.6944 MB / 1.105 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.8787, allocations: 0.7561 MB / 1.106 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005907/0.8793, allocations: 236.9 kB / 1.106 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.8813, allocations: 0.6839 MB / 1.107 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.8826, allocations: 425.5 kB / 1.108 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.633e-05/0.8827, allocations: 27.28 kB / 1.108 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.8859, allocations: 1.068 MB / 1.109 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.8861, allocations: 122.1 kB / 1.109 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.8864, allocations: 126.8 kB / 1.109 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.889, allocations: 0.9241 MB / 1.11 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.889, allocations: 0.75 kB / 1.11 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.889, allocations: 0 / 1.11 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.408e-05/0.889, allocations: 1.688 kB / 1.11 GB, free: 12.34 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001206/0.8902, allocations: 0.6296 MB / 1.11 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.8902, allocations: 9.625 kB / 1.11 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.8914, allocations: 127.7 kB / 1.11 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/0.8921, allocations: 280.9 kB / 1.111 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.997e-05/0.8922, allocations: 73.48 kB / 1.111 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.8922, allocations: 30.25 kB / 1.111 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008099/0.8931, allocations: 392.6 kB / 1.111 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.8931, allocations: 7.469 kB / 1.111 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.8931, allocations: 12.84 kB / 1.111 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.8931, allocations: 6.875 kB / 1.111 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000622/0.8938, allocations: 269.9 kB / 1.111 GB, free: 11.57 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.8956, allocations: 1.065 MB / 1.113 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.8961, allocations: 188.2 kB / 1.113 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.8963, allocations: 117.5 kB / 1.113 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009451/0.8973, allocations: 135.3 kB / 1.113 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.8973, allocations: 37.33 kB / 1.113 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.374e-06/0.8973, allocations: 1.125 kB / 1.113 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.001184/0.8985, allocations: 347.8 kB / 1.113 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.8985, allocations: 57.03 kB / 1.113 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.8989, allocations: 236.3 kB / 1.114 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.8989, allocations: 33.58 kB / 1.114 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.8991, allocations: 198 kB / 1.114 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.8991, allocations: 51.78 kB / 1.114 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.8993, allocations: 45.75 kB / 1.114 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.8994, allocations: 330 kB / 1.114 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.8996, allocations: 89.16 kB / 1.114 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.8999, allocations: 223.9 kB / 1.115 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000508/0.9004, allocations: 236.4 kB / 1.115 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.9004, allocations: 1.938 kB / 1.115 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007596/0.9012, allocations: 280.7 kB / 1.115 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.9012, allocations: 8.531 kB / 1.115 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.9012, allocations: 1.125 kB / 1.115 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.9012, allocations: 9.625 kB / 1.115 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.9015, allocations: 40.28 kB / 1.115 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.9015, allocations: 4.484 kB / 1.115 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.9018, allocations: 28 kB / 1.115 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.9018, allocations: 14.25 kB / 1.115 GB, free: 9.906 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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 0.0001807/0.902, allocations: 153.8 kB / 1.115 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.9021, allocations: 24.83 kB / 1.115 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008082/0.9029, allocations: 311 kB / 1.116 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.9029, allocations: 6.531 kB / 1.116 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.9029, allocations: 0.75 kB / 1.116 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.9029, allocations: 2.25 kB / 1.116 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.9044, allocations: 0.7071 MB / 1.116 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.9044, allocations: 3.062 kB / 1.116 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.9046, allocations: 39 kB / 1.116 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.9046, allocations: 3.562 kB / 1.116 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.9047, allocations: 5.594 kB / 1.116 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.9047, allocations: 6.875 kB / 1.116 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9047, allocations: 2.156 kB / 1.116 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007182/0.9054, allocations: 400.5 kB / 1.117 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.9055, allocations: 46.72 kB / 1.117 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.9056, allocations: 7.766 kB / 1.117 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.9058, allocations: 12.45 kB / 1.117 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.9059, allocations: 24.83 kB / 1.117 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.9059, allocations: 11.55 kB / 1.117 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001902/0.9061, allocations: 165.4 kB / 1.117 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9061, allocations: 3.938 kB / 1.117 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008289/0.9069, allocations: 138 kB / 1.117 GB, free: 9.109 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (16): * Single equations (assignments): 16 * 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.0005927/0.9075, allocations: 220.5 kB / 1.117 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006231/0.9082, allocations: 218 kB / 1.118 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.9082, allocations: 2.219 kB / 1.118 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.9085, allocations: 113.9 kB / 1.118 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.9092, allocations: 106.8 kB / 1.118 GB, free: 9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.9105, allocations: 0.5664 MB / 1.118 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.9107, allocations: 180.7 kB / 1.118 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002663/0.911, allocations: 76.94 kB / 1.119 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.9111, allocations: 29.28 kB / 1.119 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.9111, allocations: 0.5312 kB / 1.119 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of Templates: time 0.0166/0.9277, allocations: 5.922 MB / 1.124 GB, free: 8.246 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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: 9.133698269724846]