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.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.001716/0.001716, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002051/0.002051, allocations: 203.7 kB / 22.18 MB, free: 5.211 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.578/1.578, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.878/2.878, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001981/0.001981, allocations: 71.88 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2196/1.252, allocations: 170.2 MB / 1.44 GB, free: 9.562 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01088/1.263, allocations: 7.204 MB / 1.447 GB, free: 2.332 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005897/1.264, allocations: 15.88 kB / 1.447 GB, free: 2.316 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007244/1.264, allocations: 174.7 kB / 1.447 GB, free: 2.145 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004281/1.269, allocations: 1.315 MB / 1.449 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/1.271, allocations: 0.632 MB / 1.449 GB, free: 200 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001178/1.272, allocations: 0.7602 MB / 1.45 GB, free: 15.43 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004823/1.272, allocations: 233.6 kB / 1.45 GB, free: 15.21 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/1.274, allocations: 0.5994 MB / 1.451 GB, free: 14.61 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009732/1.275, allocations: 438.5 kB / 1.451 GB, free: 14.18 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/1.275, allocations: 28 kB / 1.451 GB, free: 14.15 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/1.278, allocations: 1.333 MB / 1.453 GB, free: 12.81 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001993/1.278, allocations: 123.6 kB / 1.453 GB, free: 12.69 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/1.279, allocations: 183.1 kB / 1.453 GB, free: 12.51 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001962/1.281, allocations: 0.8995 MB / 1.454 GB, free: 11.61 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.281, allocations: 4 kB / 1.454 GB, free: 11.61 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.084e-06/1.281, allocations: 3.938 kB / 1.454 GB, free: 11.6 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.735e-05/1.281, allocations: 0 / 1.454 GB, free: 11.6 MB / 1.154 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.001295/1.282, allocations: 0.7182 MB / 1.455 GB, free: 10.84 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.282, allocations: 8.031 kB / 1.455 GB, free: 10.83 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/1.283, allocations: 131.6 kB / 1.455 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007804/1.284, allocations: 341.4 kB / 1.455 GB, free: 10.32 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/1.284, allocations: 46.27 kB / 1.455 GB, free: 10.27 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/1.284, allocations: 28 kB / 1.455 GB, free: 10.25 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007764/1.285, allocations: 374.1 kB / 1.455 GB, free: 9.863 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/1.285, allocations: 0 / 1.455 GB, free: 9.863 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/1.285, allocations: 8 kB / 1.455 GB, free: 9.855 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/1.285, allocations: 11.98 kB / 1.455 GB, free: 9.844 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/1.285, allocations: 278 kB / 1.456 GB, free: 9.57 MB / 1.154 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.002298/1.288, allocations: 1.48 MB / 1.457 GB, free: 7.965 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/1.288, allocations: 186.6 kB / 1.457 GB, free: 7.773 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/1.288, allocations: 112.8 kB / 1.457 GB, free: 7.66 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/1.29, allocations: 0.5014 MB / 1.458 GB, free: 7.066 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/1.29, allocations: 42.5 kB / 1.458 GB, free: 7.016 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/1.29, allocations: 0 / 1.458 GB, free: 7.016 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.001039/1.291, allocations: 359.5 kB / 1.458 GB, free: 6.66 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/1.291, allocations: 55.41 kB / 1.458 GB, free: 6.594 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/1.291, allocations: 312.5 kB / 1.459 GB, free: 6.281 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/1.291, allocations: 33.64 kB / 1.459 GB, free: 6.242 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/1.291, allocations: 188.2 kB / 1.459 GB, free: 6.055 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/1.291, allocations: 55.55 kB / 1.459 GB, free: 6 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/1.292, allocations: 45.7 kB / 1.459 GB, free: 5.949 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002054/1.292, allocations: 338.8 kB / 1.459 GB, free: 5.609 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/1.292, allocations: 83.92 kB / 1.459 GB, free: 5.527 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/1.292, allocations: 145.9 kB / 1.46 GB, free: 5.363 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/1.293, allocations: 245.4 kB / 1.46 GB, free: 5.105 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.293, allocations: 8 kB / 1.46 GB, free: 5.098 MB / 1.154 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006123/1.293, allocations: 281.2 kB / 1.46 GB, free: 4.816 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.293, allocations: 9.875 kB / 1.46 GB, free: 4.809 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.293, allocations: 0 / 1.46 GB, free: 4.809 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.293, allocations: 4 kB / 1.46 GB, free: 4.805 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/1.294, allocations: 40.17 kB / 1.46 GB, free: 4.766 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/1.294, allocations: 15.91 kB / 1.46 GB, free: 4.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/1.294, allocations: 31.78 kB / 1.46 GB, free: 4.719 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/1.294, allocations: 11.98 kB / 1.46 GB, free: 4.707 MB / 1.154 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.0002589/1.294, allocations: 155.3 kB / 1.46 GB, free: 4.547 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/1.294, allocations: 31.81 kB / 1.46 GB, free: 4.516 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008514/1.295, allocations: 324.1 kB / 1.461 GB, free: 4.184 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/1.295, allocations: 0 / 1.461 GB, free: 4.184 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.295, allocations: 0 / 1.461 GB, free: 4.184 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.295, allocations: 4 kB / 1.461 GB, free: 4.18 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/1.297, allocations: 0.8044 MB / 1.461 GB, free: 3.297 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/1.297, allocations: 4 kB / 1.461 GB, free: 3.293 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/1.297, allocations: 32.02 kB / 1.461 GB, free: 3.262 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/1.297, allocations: 7.984 kB / 1.461 GB, free: 3.254 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/1.297, allocations: 11.94 kB / 1.461 GB, free: 3.242 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/1.297, allocations: 4 kB / 1.461 GB, free: 3.238 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.297, allocations: 8.156 kB / 1.462 GB, free: 3.23 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/1.298, allocations: 401.1 kB / 1.462 GB, free: 2.801 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/1.298, allocations: 132.9 kB / 1.462 GB, free: 2.652 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/1.298, allocations: 11.94 kB / 1.462 GB, free: 2.641 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/1.298, allocations: 11.98 kB / 1.462 GB, free: 2.629 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/1.298, allocations: 20.02 kB / 1.462 GB, free: 2.609 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/1.298, allocations: 15.94 kB / 1.462 GB, free: 2.594 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002561/1.298, allocations: 227 kB / 1.462 GB, free: 2.375 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.298, allocations: 0 / 1.462 GB, free: 2.375 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005977/1.299, allocations: 131.6 kB / 1.462 GB, free: 2.246 MB / 1.154 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.0007385/1.3, allocations: 225.1 kB / 1.463 GB, free: 2.023 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005525/1.3, allocations: 211.7 kB / 1.463 GB, free: 1.816 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.3, allocations: 4 kB / 1.463 GB, free: 1.812 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/1.301, allocations: 111.8 kB / 1.463 GB, free: 1.703 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009167/1.302, allocations: 170.8 kB / 1.463 GB, free: 1.543 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/1.303, allocations: 0.616 MB / 1.464 GB, free: 0.875 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/1.303, allocations: 0.7834 MB / 1.464 GB, free: 64 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002821/1.304, allocations: 90.81 kB / 1.465 GB, free: 15.97 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/1.304, allocations: 31.42 kB / 1.465 GB, free: 15.94 MB / 1.17 GB Notification: Performance of SimCode: time 6.21e-07/1.304, allocations: 0 / 1.465 GB, free: 15.94 MB / 1.17 GB Notification: Performance of Templates: time 0.01502/1.319, allocations: 7.385 MB / 1.472 GB, free: 8.641 MB / 1.17 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 cvode -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_2/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.801647217012942]