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.001334/0.001334, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.00144/0.00144, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.452/1.452, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001971/0.001971, allocations: 63.89 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9258/0.9278, allocations: 160.8 MB / 1.218 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2221/1.15, allocations: 170.2 MB / 1.385 GB, free: 9.484 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01058/1.16, allocations: 7.223 MB / 1.392 GB, free: 2.242 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006321/1.161, allocations: 23.81 kB / 1.392 GB, free: 2.219 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007679/1.162, allocations: 166.7 kB / 1.392 GB, free: 2.055 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004108/1.166, allocations: 1.338 MB / 1.393 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/1.168, allocations: 0.6534 MB / 1.394 GB, free: 64 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001321/1.169, allocations: 0.7836 MB / 1.395 GB, free: 15.28 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005701/1.17, allocations: 241.9 kB / 1.395 GB, free: 15.04 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/1.171, allocations: 0.5916 MB / 1.395 GB, free: 14.45 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/1.173, allocations: 450.5 kB / 1.396 GB, free: 14.01 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 9.399e-05/1.173, allocations: 31.94 kB / 1.396 GB, free: 13.98 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/1.176, allocations: 1.364 MB / 1.397 GB, free: 12.61 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/1.176, allocations: 123.6 kB / 1.397 GB, free: 12.49 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002826/1.176, allocations: 183.1 kB / 1.398 GB, free: 12.31 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/1.178, allocations: 0.907 MB / 1.398 GB, free: 11.4 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.178, allocations: 4 kB / 1.398 GB, free: 11.4 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.313e-06/1.178, allocations: 0 / 1.398 GB, free: 11.4 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.502e-05/1.178, allocations: 0 / 1.398 GB, free: 11.4 MB / 1.107 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.001377/1.18, allocations: 0.7121 MB / 1.399 GB, free: 10.64 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.18, allocations: 8.031 kB / 1.399 GB, free: 10.63 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/1.181, allocations: 123.6 kB / 1.399 GB, free: 10.51 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/1.182, allocations: 345.3 kB / 1.4 GB, free: 10.13 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.782e-05/1.182, allocations: 54.34 kB / 1.4 GB, free: 10.07 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/1.182, allocations: 24 kB / 1.4 GB, free: 10.05 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007796/1.183, allocations: 375.2 kB / 1.4 GB, free: 9.664 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/1.183, allocations: 0 / 1.4 GB, free: 9.664 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/1.183, allocations: 12 kB / 1.4 GB, free: 9.652 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/1.183, allocations: 8 kB / 1.4 GB, free: 9.645 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000579/1.183, allocations: 273.7 kB / 1.4 GB, free: 9.375 MB / 1.107 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.002226/1.185, allocations: 1.492 MB / 1.402 GB, free: 7.758 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/1.186, allocations: 179.6 kB / 1.402 GB, free: 7.574 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/1.186, allocations: 116.8 kB / 1.402 GB, free: 7.457 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/1.187, allocations: 0.5014 MB / 1.403 GB, free: 6.863 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.187, allocations: 42.48 kB / 1.403 GB, free: 6.812 MB / 1.107 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/1.187, allocations: 0 / 1.403 GB, free: 6.812 MB / 1.107 GB Notification: Performance of matching and sorting (n=15): time 0.0009975/1.188, allocations: 359.6 kB / 1.403 GB, free: 6.457 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/1.188, allocations: 51.41 kB / 1.403 GB, free: 6.395 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/1.189, allocations: 316.5 kB / 1.403 GB, free: 6.078 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/1.189, allocations: 33.69 kB / 1.403 GB, free: 6.039 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/1.189, allocations: 192.3 kB / 1.403 GB, free: 5.848 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/1.189, allocations: 51.52 kB / 1.404 GB, free: 5.797 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/1.189, allocations: 49.66 kB / 1.404 GB, free: 5.742 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.189, allocations: 338.8 kB / 1.404 GB, free: 5.402 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/1.189, allocations: 87.92 kB / 1.404 GB, free: 5.316 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/1.19, allocations: 152.1 kB / 1.404 GB, free: 5.148 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/1.19, allocations: 241.8 kB / 1.404 GB, free: 4.891 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.19, allocations: 0 / 1.404 GB, free: 4.891 MB / 1.107 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006213/1.191, allocations: 288.4 kB / 1.405 GB, free: 4.605 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.191, allocations: 8.125 kB / 1.405 GB, free: 4.598 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.191, allocations: 8 kB / 1.405 GB, free: 4.59 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.191, allocations: 0 / 1.405 GB, free: 4.59 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/1.191, allocations: 39.97 kB / 1.405 GB, free: 4.551 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/1.191, allocations: 7.938 kB / 1.405 GB, free: 4.543 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/1.191, allocations: 27.83 kB / 1.405 GB, free: 4.516 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/1.191, allocations: 12 kB / 1.405 GB, free: 4.504 MB / 1.107 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.0001798/1.191, allocations: 153.7 kB / 1.405 GB, free: 4.344 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/1.191, allocations: 39.84 kB / 1.405 GB, free: 4.305 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/1.192, allocations: 312 kB / 1.405 GB, free: 3.988 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.192, allocations: 4 kB / 1.405 GB, free: 3.984 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.192, allocations: 0 / 1.405 GB, free: 3.984 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.192, allocations: 3.984 kB / 1.405 GB, free: 3.98 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/1.194, allocations: 0.8044 MB / 1.406 GB, free: 3.098 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.194, allocations: 0 / 1.406 GB, free: 3.098 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/1.194, allocations: 40.19 kB / 1.406 GB, free: 3.059 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/1.194, allocations: 4 kB / 1.406 GB, free: 3.055 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/1.194, allocations: 7.938 kB / 1.406 GB, free: 3.047 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/1.194, allocations: 4 kB / 1.406 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.194, allocations: 11.94 kB / 1.406 GB, free: 3.031 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006301/1.195, allocations: 401.1 kB / 1.406 GB, free: 2.602 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/1.195, allocations: 136.9 kB / 1.407 GB, free: 2.449 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/1.195, allocations: 7.938 kB / 1.407 GB, free: 2.441 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/1.195, allocations: 19.98 kB / 1.407 GB, free: 2.422 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/1.195, allocations: 11.97 kB / 1.407 GB, free: 2.41 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/1.195, allocations: 12 kB / 1.407 GB, free: 2.398 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002351/1.195, allocations: 227 kB / 1.407 GB, free: 2.18 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.195, allocations: 0 / 1.407 GB, free: 2.18 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005541/1.196, allocations: 123.7 kB / 1.407 GB, free: 2.059 MB / 1.107 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.0006927/1.197, allocations: 235.6 kB / 1.407 GB, free: 1.824 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005604/1.197, allocations: 215.7 kB / 1.407 GB, free: 1.613 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.197, allocations: 0 / 1.407 GB, free: 1.613 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/1.197, allocations: 112.6 kB / 1.407 GB, free: 1.504 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000846/1.198, allocations: 166.4 kB / 1.408 GB, free: 1.34 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/1.199, allocations: 0.6012 MB / 1.408 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/1.2, allocations: 0.7834 MB / 1.409 GB, free: 15.88 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004206/1.2, allocations: 82.88 kB / 1.409 GB, free: 15.8 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/1.201, allocations: 27.44 kB / 1.409 GB, free: 15.77 MB / 1.123 GB Notification: Performance of SimCode: time 5.31e-07/1.201, allocations: 0 / 1.409 GB, free: 15.77 MB / 1.123 GB Notification: Performance of Templates: time 0.01555/1.216, allocations: 7.447 MB / 1.416 GB, free: 8.414 MB / 1.123 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.32194942329079]