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.001414/0.001414, allocations: 78.8 kB / 19.76 MB, free: 2.035 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.001445/0.001445, allocations: 159.2 kB / 23.01 MB, free: 4.945 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.45/1.45, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.717/2.717, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 71.89 kB / 0.9515 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.344, allocations: 169.9 MB / 1.117 GB, free: 2.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7699/1.114, allocations: 149.5 MB / 1.263 GB, free: 11.22 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009729/1.124, allocations: 6.545 MB / 1.27 GB, free: 6.844 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000665/1.124, allocations: 16.53 kB / 1.27 GB, free: 6.836 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006843/1.125, allocations: 177.7 kB / 1.27 GB, free: 6.719 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004046/1.129, allocations: 1.308 MB / 1.271 GB, free: 6.062 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/1.131, allocations: 0.6444 MB / 1.272 GB, free: 5.754 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001249/1.132, allocations: 0.773 MB / 1.273 GB, free: 5.406 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/1.133, allocations: 232.8 kB / 1.273 GB, free: 5.305 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/1.134, allocations: 0.5953 MB / 1.274 GB, free: 5.039 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/1.135, allocations: 451.5 kB / 1.274 GB, free: 4.875 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.616e-05/1.135, allocations: 25.59 kB / 1.274 GB, free: 4.875 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/1.138, allocations: 1.051 MB / 1.275 GB, free: 4.492 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001769/1.138, allocations: 116.9 kB / 1.275 GB, free: 4.441 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002064/1.138, allocations: 150.8 kB / 1.275 GB, free: 4.367 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/1.14, allocations: 0.8669 MB / 1.276 GB, free: 4.086 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.14, allocations: 1.719 kB / 1.276 GB, free: 4.086 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.353e-06/1.14, allocations: 4 kB / 1.276 GB, free: 4.082 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.826e-06/1.14, allocations: 0 / 1.276 GB, free: 4.082 MB / 1.123 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.001256/1.141, allocations: 0.6341 MB / 1.277 GB, free: 3.598 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.141, allocations: 9.344 kB / 1.277 GB, free: 3.598 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/1.142, allocations: 129.9 kB / 1.277 GB, free: 3.566 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000609/1.143, allocations: 284 kB / 1.277 GB, free: 3.355 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/1.143, allocations: 74.2 kB / 1.277 GB, free: 3.281 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/1.143, allocations: 25.94 kB / 1.277 GB, free: 3.273 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007974/1.144, allocations: 397.1 kB / 1.278 GB, free: 3.062 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/1.144, allocations: 0.9062 kB / 1.278 GB, free: 3.062 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/1.144, allocations: 10.28 kB / 1.278 GB, free: 3.055 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/1.144, allocations: 11.06 kB / 1.278 GB, free: 3.051 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005955/1.145, allocations: 274.1 kB / 1.278 GB, free: 2.965 MB / 1.123 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.001908/1.146, allocations: 1.071 MB / 1.279 GB, free: 2.203 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/1.147, allocations: 183.5 kB / 1.279 GB, free: 2.137 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/1.147, allocations: 116.4 kB / 1.279 GB, free: 2.098 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008049/1.148, allocations: 135.8 kB / 1.279 GB, free: 2.082 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/1.148, allocations: 33.83 kB / 1.279 GB, free: 2.043 MB / 1.123 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/1.148, allocations: 0 / 1.279 GB, free: 2.043 MB / 1.123 GB Notification: Performance of matching and sorting (n=15): time 0.001015/1.149, allocations: 354.5 kB / 1.28 GB, free: 1.918 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/1.149, allocations: 54.75 kB / 1.28 GB, free: 1.855 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/1.149, allocations: 230.6 kB / 1.28 GB, free: 1.719 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/1.149, allocations: 30.95 kB / 1.28 GB, free: 1.684 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/1.15, allocations: 197.1 kB / 1.28 GB, free: 1.52 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/1.15, allocations: 54.88 kB / 1.28 GB, free: 1.477 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/1.15, allocations: 44.53 kB / 1.28 GB, free: 1.449 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.15, allocations: 331.2 kB / 1.281 GB, free: 1.129 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/1.15, allocations: 90.17 kB / 1.281 GB, free: 1.105 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/1.15, allocations: 225.2 kB / 1.281 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/1.151, allocations: 245.1 kB / 1.281 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.151, allocations: 0 / 1.281 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000629/1.151, allocations: 280.6 kB / 1.281 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.151, allocations: 6.438 kB / 1.281 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.152, allocations: 2.141 kB / 1.281 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.152, allocations: 6.328 kB / 1.281 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/1.152, allocations: 47.12 kB / 1.281 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/1.152, allocations: 3.047 kB / 1.281 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/1.152, allocations: 26.73 kB / 1.282 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/1.152, allocations: 11.52 kB / 1.282 GB, free: 0.6602 MB / 1.123 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.0001822/1.152, allocations: 147.8 kB / 1.282 GB, free: 0.5273 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/1.152, allocations: 27.45 kB / 1.282 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007611/1.153, allocations: 308.1 kB / 1.282 GB, free: 404 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.153, allocations: 2.938 kB / 1.282 GB, free: 404 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.153, allocations: 2.062 kB / 1.282 GB, free: 404 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.153, allocations: 5.406 kB / 1.282 GB, free: 400 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/1.155, allocations: 0.7135 MB / 1.283 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.155, allocations: 1.344 kB / 1.283 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/1.155, allocations: 37.09 kB / 1.283 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.155, allocations: 6.75 kB / 1.283 GB, free: 15.94 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/1.155, allocations: 4.953 kB / 1.283 GB, free: 15.94 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.155, allocations: 3.422 kB / 1.283 GB, free: 15.94 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.155, allocations: 5.75 kB / 1.283 GB, free: 15.94 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/1.156, allocations: 392.1 kB / 1.283 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/1.156, allocations: 49.38 kB / 1.283 GB, free: 15.66 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/1.156, allocations: 8.312 kB / 1.283 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/1.156, allocations: 15.98 kB / 1.283 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/1.156, allocations: 25.48 kB / 1.283 GB, free: 15.64 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/1.156, allocations: 9.594 kB / 1.283 GB, free: 15.64 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001763/1.156, allocations: 167.5 kB / 1.283 GB, free: 15.53 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.156, allocations: 0 / 1.283 GB, free: 15.53 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006215/1.157, allocations: 127.6 kB / 1.283 GB, free: 15.5 MB / 1.139 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.0004807/1.157, allocations: 224.1 kB / 1.284 GB, free: 15.37 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005268/1.158, allocations: 219.5 kB / 1.284 GB, free: 15.3 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.158, allocations: 0 / 1.284 GB, free: 15.3 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/1.158, allocations: 113.1 kB / 1.284 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/1.159, allocations: 111.4 kB / 1.284 GB, free: 15.25 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/1.16, allocations: 0.5921 MB / 1.285 GB, free: 14.86 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/1.16, allocations: 183.4 kB / 1.285 GB, free: 14.77 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002405/1.16, allocations: 78.12 kB / 1.285 GB, free: 14.76 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.564e-05/1.16, allocations: 25.69 kB / 1.285 GB, free: 14.75 MB / 1.139 GB Notification: Performance of SimCode: time 4.11e-07/1.16, allocations: 0 / 1.285 GB, free: 14.75 MB / 1.139 GB Notification: Performance of Templates: time 0.01293/1.173, allocations: 5.928 MB / 1.291 GB, free: 14.09 MB / 1.139 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 -s ida -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/jenkins1/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.046193878049962]