Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 71.88 kB / 1.057 GB, free: 1.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3644, allocations: 160.7 MB / 1.214 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.9326/1.297, allocations: 170 MB / 1.38 GB, free: 9.492 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009276/1.306, allocations: 7.158 MB / 1.387 GB, free: 4.395 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004903/1.307, allocations: 16.66 kB / 1.387 GB, free: 4.387 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005755/1.307, allocations: 176.2 kB / 1.387 GB, free: 4.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00337/1.311, allocations: 1.311 MB / 1.389 GB, free: 3.395 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/1.312, allocations: 0.6277 MB / 1.389 GB, free: 2.941 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009809/1.313, allocations: 0.7633 MB / 1.39 GB, free: 2.504 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/1.314, allocations: 261.8 kB / 1.39 GB, free: 2.336 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/1.315, allocations: 0.5807 MB / 1.391 GB, free: 1.977 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009278/1.316, allocations: 452.5 kB / 1.391 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/1.316, allocations: 25.88 kB / 1.391 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/1.319, allocations: 1.337 MB / 1.392 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/1.319, allocations: 120 kB / 1.393 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002263/1.319, allocations: 175.4 kB / 1.393 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/1.321, allocations: 0.904 MB / 1.394 GB, free: 204 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.321, allocations: 3.938 kB / 1.394 GB, free: 200 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/1.321, allocations: 0 / 1.394 GB, free: 200 kB / 1.061 GB Notification: Performance of Transformations before backend: time 8.676e-06/1.321, allocations: 1.188 kB / 1.394 GB, free: 200 kB / 1.061 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.001159/1.322, allocations: 0.7015 MB / 1.394 GB, free: 15.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.322, allocations: 12.92 kB / 1.394 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/1.323, allocations: 130.2 kB / 1.394 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/1.324, allocations: 348.8 kB / 1.395 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.338e-05/1.324, allocations: 55.14 kB / 1.395 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/1.324, allocations: 26.03 kB / 1.395 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/1.325, allocations: 365.7 kB / 1.395 GB, free: 14.9 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.325, allocations: 5.438 kB / 1.395 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/1.325, allocations: 10.84 kB / 1.395 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/1.325, allocations: 6.906 kB / 1.395 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005557/1.325, allocations: 275.2 kB / 1.396 GB, free: 14.75 MB / 1.076 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.002079/1.327, allocations: 1.487 MB / 1.397 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/1.328, allocations: 184.7 kB / 1.397 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/1.328, allocations: 108.6 kB / 1.397 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/1.329, allocations: 0.5039 MB / 1.398 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/1.329, allocations: 35.81 kB / 1.398 GB, free: 12.68 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/1.329, allocations: 0 / 1.398 GB, free: 12.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.001026/1.33, allocations: 366.7 kB / 1.398 GB, free: 12.49 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/1.33, allocations: 53.12 kB / 1.398 GB, free: 12.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/1.331, allocations: 313 kB / 1.398 GB, free: 12.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/1.331, allocations: 30.8 kB / 1.399 GB, free: 12.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/1.331, allocations: 190 kB / 1.399 GB, free: 12.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/1.331, allocations: 53.45 kB / 1.399 GB, free: 11.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.196e-05/1.331, allocations: 47.5 kB / 1.399 GB, free: 11.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.331, allocations: 342.8 kB / 1.399 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/1.331, allocations: 80.84 kB / 1.399 GB, free: 11.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/1.331, allocations: 146.8 kB / 1.399 GB, free: 11.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/1.332, allocations: 247.1 kB / 1.4 GB, free: 11.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.332, allocations: 0 / 1.4 GB, free: 11.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007017/1.333, allocations: 288.6 kB / 1.4 GB, free: 11.14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.333, allocations: 4.812 kB / 1.4 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.333, allocations: 3.781 kB / 1.4 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.333, allocations: 5.406 kB / 1.4 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/1.333, allocations: 43.39 kB / 1.4 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.333, allocations: 4.219 kB / 1.4 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/1.333, allocations: 33.17 kB / 1.4 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/1.333, allocations: 17.83 kB / 1.4 GB, free: 11.1 MB / 1.076 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.0002119/1.334, allocations: 152.1 kB / 1.4 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/1.334, allocations: 30.09 kB / 1.4 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007321/1.334, allocations: 321.7 kB / 1.4 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/1.334, allocations: 1.844 kB / 1.4 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.334, allocations: 1.75 kB / 1.4 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.334, allocations: 0 / 1.4 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/1.336, allocations: 0.8057 MB / 1.401 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.336, allocations: 2.75 kB / 1.401 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/1.336, allocations: 38.03 kB / 1.401 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.336, allocations: 2.75 kB / 1.401 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/1.336, allocations: 12.06 kB / 1.401 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.336, allocations: 2.75 kB / 1.401 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.336, allocations: 1.594 kB / 1.401 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006368/1.337, allocations: 404.5 kB / 1.402 GB, free: 9.773 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/1.337, allocations: 134.9 kB / 1.402 GB, free: 9.641 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/1.337, allocations: 11.25 kB / 1.402 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/1.337, allocations: 12.48 kB / 1.402 GB, free: 9.629 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/1.337, allocations: 19.67 kB / 1.402 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/1.337, allocations: 8.75 kB / 1.402 GB, free: 9.617 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002347/1.337, allocations: 231.5 kB / 1.402 GB, free: 9.469 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.337, allocations: 0 / 1.402 GB, free: 9.469 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005784/1.338, allocations: 124.3 kB / 1.402 GB, free: 9.438 MB / 1.076 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.0006101/1.339, allocations: 243.9 kB / 1.402 GB, free: 9.273 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005442/1.339, allocations: 215.3 kB / 1.403 GB, free: 9.176 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.339, allocations: 1.375 kB / 1.403 GB, free: 9.176 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/1.339, allocations: 111.7 kB / 1.403 GB, free: 9.125 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008737/1.34, allocations: 168.1 kB / 1.403 GB, free: 9.035 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/1.341, allocations: 0.6284 MB / 1.403 GB, free: 8.578 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/1.342, allocations: 0.7872 MB / 1.404 GB, free: 7.832 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/1.342, allocations: 37.23 kB / 1.404 GB, free: 7.82 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/1.342, allocations: 0 / 1.404 GB, free: 7.82 MB / 1.076 GB Notification: Performance of Templates: time 0.009878/1.352, allocations: 6.305 MB / 1.41 GB, free: 4.555 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.85666474699974]