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.001315/0.001315, allocations: 114.2 kB / 17.08 MB, free: 5.789 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.00132/0.00132, allocations: 191.7 kB / 20.03 MB, free: 2.906 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.429/1.429, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.693/2.693, allocations: 437.1 MB / 0.7177 GB, free: 4.551 MB / 0.5606 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.001943/0.001943, allocations: 63.91 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3427, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.9349/1.278, allocations: 169.4 MB / 1.341 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01076/1.288, allocations: 7.134 MB / 1.348 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000739/1.289, allocations: 16.03 kB / 1.348 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007687/1.29, allocations: 172.3 kB / 1.348 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004461/1.295, allocations: 1.26 MB / 1.35 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/1.297, allocations: 0.6329 MB / 1.35 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001371/1.298, allocations: 0.7675 MB / 1.351 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006308/1.299, allocations: 288.1 kB / 1.351 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/1.3, allocations: 0.5704 MB / 1.352 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/1.302, allocations: 430.2 kB / 1.352 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.538e-05/1.302, allocations: 25.72 kB / 1.352 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/1.305, allocations: 1.243 MB / 1.354 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000211/1.305, allocations: 125.4 kB / 1.354 GB, free: 9.977 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003839/1.305, allocations: 176.9 kB / 1.354 GB, free: 9.875 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00249/1.308, allocations: 0.9015 MB / 1.355 GB, free: 9.582 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.308, allocations: 0 / 1.355 GB, free: 9.582 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/1.308, allocations: 0 / 1.355 GB, free: 9.582 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.886e-05/1.308, allocations: 0 / 1.355 GB, free: 9.582 MB / 1.029 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.001606/1.309, allocations: 0.705 MB / 1.355 GB, free: 9.008 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.309, allocations: 9.5 kB / 1.355 GB, free: 9.008 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/1.311, allocations: 138.5 kB / 1.356 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/1.311, allocations: 341.1 kB / 1.356 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.484e-05/1.311, allocations: 49.89 kB / 1.356 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/1.311, allocations: 29.75 kB / 1.356 GB, free: 8.641 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/1.312, allocations: 363.9 kB / 1.356 GB, free: 8.473 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/1.312, allocations: 3.594 kB / 1.356 GB, free: 8.473 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/1.312, allocations: 14.66 kB / 1.356 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/1.312, allocations: 6.219 kB / 1.356 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005908/1.313, allocations: 275.1 kB / 1.357 GB, free: 8.371 MB / 1.029 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.002172/1.315, allocations: 1.484 MB / 1.358 GB, free: 7.203 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/1.316, allocations: 199.1 kB / 1.358 GB, free: 7.125 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/1.316, allocations: 121.8 kB / 1.358 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/1.317, allocations: 0.5058 MB / 1.359 GB, free: 6.598 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/1.317, allocations: 31.66 kB / 1.359 GB, free: 6.559 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/1.317, allocations: 0 / 1.359 GB, free: 6.559 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001038/1.318, allocations: 364.5 kB / 1.359 GB, free: 6.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/1.318, allocations: 58.69 kB / 1.359 GB, free: 6.363 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/1.318, allocations: 315.4 kB / 1.36 GB, free: 6.195 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/1.318, allocations: 27.14 kB / 1.36 GB, free: 6.164 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/1.319, allocations: 190.3 kB / 1.36 GB, free: 6.004 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/1.319, allocations: 47.86 kB / 1.36 GB, free: 5.969 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.752e-05/1.319, allocations: 46.91 kB / 1.36 GB, free: 5.938 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.319, allocations: 339.2 kB / 1.36 GB, free: 5.613 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/1.319, allocations: 91.27 kB / 1.36 GB, free: 5.586 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/1.319, allocations: 146.1 kB / 1.36 GB, free: 5.504 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/1.32, allocations: 240.5 kB / 1.361 GB, free: 5.379 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/1.32, allocations: 5.031 kB / 1.361 GB, free: 5.375 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006511/1.321, allocations: 282.9 kB / 1.361 GB, free: 5.262 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.321, allocations: 7.047 kB / 1.361 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.321, allocations: 2.188 kB / 1.361 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.321, allocations: 7.188 kB / 1.361 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/1.321, allocations: 41.05 kB / 1.361 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.321, allocations: 3.062 kB / 1.361 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/1.321, allocations: 35.59 kB / 1.361 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/1.321, allocations: 11.88 kB / 1.361 GB, free: 5.234 MB / 1.029 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.0001872/1.321, allocations: 161.4 kB / 1.361 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/1.321, allocations: 29.81 kB / 1.361 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007126/1.322, allocations: 311 kB / 1.361 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.322, allocations: 2.625 kB / 1.362 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.322, allocations: 0 / 1.362 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.322, allocations: 0 / 1.362 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/1.324, allocations: 0.8095 MB / 1.362 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.324, allocations: 4.516 kB / 1.362 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/1.324, allocations: 39.09 kB / 1.362 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.324, allocations: 7.219 kB / 1.362 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/1.324, allocations: 9.609 kB / 1.362 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.324, allocations: 2.281 kB / 1.362 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.324, allocations: 3.094 kB / 1.362 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/1.325, allocations: 404.9 kB / 1.363 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/1.325, allocations: 132.9 kB / 1.363 GB, free: 4.016 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/1.325, allocations: 14.16 kB / 1.363 GB, free: 4.008 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/1.325, allocations: 14.14 kB / 1.363 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/1.325, allocations: 16.17 kB / 1.363 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/1.325, allocations: 13.59 kB / 1.363 GB, free: 3.996 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002572/1.326, allocations: 226.5 kB / 1.363 GB, free: 3.879 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.01e-07/1.326, allocations: 0 / 1.363 GB, free: 3.879 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006042/1.326, allocations: 122.6 kB / 1.363 GB, free: 3.852 MB / 1.029 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.0006652/1.327, allocations: 234.9 kB / 1.363 GB, free: 3.723 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005411/1.327, allocations: 222.6 kB / 1.364 GB, free: 3.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.327, allocations: 1.438 kB / 1.364 GB, free: 3.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/1.328, allocations: 118.3 kB / 1.364 GB, free: 3.625 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009011/1.329, allocations: 166.4 kB / 1.364 GB, free: 3.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/1.33, allocations: 0.6308 MB / 1.365 GB, free: 3.156 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/1.33, allocations: 0.7881 MB / 1.365 GB, free: 2.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/1.33, allocations: 30.88 kB / 1.365 GB, free: 2.445 MB / 1.029 GB Notification: Performance of SimCode: time 6.42e-07/1.33, allocations: 4 kB / 1.365 GB, free: 2.441 MB / 1.029 GB Notification: Performance of Templates: time 0.01232/1.343, allocations: 6.278 MB / 1.372 GB, free: 15.93 MB / 1.045 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.597016046056524]