Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001675/0.001675, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.002268/0.002268, allocations: 160.3 kB / 23.01 MB, free: 4.957 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.601/1.601, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.816/2.816, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_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.002388/0.002388, allocations: 75.89 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.07, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2088/1.279, allocations: 149.5 MB / 1.3 GB, free: 12.59 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01088/1.29, allocations: 6.561 MB / 1.306 GB, free: 7.914 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007365/1.29, allocations: 20.56 kB / 1.306 GB, free: 7.902 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007087/1.291, allocations: 168.4 kB / 1.307 GB, free: 7.758 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004806/1.296, allocations: 1.29 MB / 1.308 GB, free: 6.809 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002301/1.298, allocations: 0.6694 MB / 1.308 GB, free: 6.316 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001288/1.299, allocations: 0.7568 MB / 1.309 GB, free: 5.879 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005156/1.3, allocations: 230.2 kB / 1.309 GB, free: 5.727 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/1.302, allocations: 0.7467 MB / 1.31 GB, free: 5.258 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/1.304, allocations: 435 kB / 1.311 GB, free: 5.02 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/1.304, allocations: 29.44 kB / 1.311 GB, free: 5.016 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/1.306, allocations: 1.04 MB / 1.312 GB, free: 4.43 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001926/1.307, allocations: 119.9 kB / 1.312 GB, free: 4.348 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002215/1.307, allocations: 143.8 kB / 1.312 GB, free: 4.27 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/1.309, allocations: 0.876 MB / 1.313 GB, free: 3.746 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/1.309, allocations: 0 / 1.313 GB, free: 3.746 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.695e-06/1.309, allocations: 0 / 1.313 GB, free: 3.746 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.309, allocations: 1.094 kB / 1.313 GB, free: 3.746 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.001287/1.31, allocations: 0.6387 MB / 1.313 GB, free: 3.211 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.31, allocations: 9.25 kB / 1.313 GB, free: 3.211 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/1.311, allocations: 125.7 kB / 1.313 GB, free: 3.152 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006144/1.312, allocations: 282.9 kB / 1.314 GB, free: 2.906 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/1.312, allocations: 73.75 kB / 1.314 GB, free: 2.836 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/1.312, allocations: 25.59 kB / 1.314 GB, free: 2.828 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007592/1.313, allocations: 398.9 kB / 1.314 GB, free: 2.555 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.313, allocations: 0 / 1.314 GB, free: 2.555 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/1.313, allocations: 10.47 kB / 1.314 GB, free: 2.547 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/1.313, allocations: 7.75 kB / 1.314 GB, free: 2.547 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005842/1.313, allocations: 279.5 kB / 1.314 GB, free: 2.414 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/1.315, allocations: 1.07 MB / 1.316 GB, free: 1.527 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/1.316, allocations: 194.1 kB / 1.316 GB, free: 1.418 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/1.316, allocations: 108.7 kB / 1.316 GB, free: 1.363 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008291/1.317, allocations: 140.8 kB / 1.316 GB, free: 1.305 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/1.317, allocations: 32.66 kB / 1.316 GB, free: 1.266 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/1.317, allocations: 0 / 1.316 GB, free: 1.266 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.00106/1.318, allocations: 352.5 kB / 1.316 GB, free: 1.086 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.318, allocations: 53.78 kB / 1.316 GB, free: 1.023 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/1.318, allocations: 232.4 kB / 1.317 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/1.318, allocations: 31.17 kB / 1.317 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/1.318, allocations: 202.8 kB / 1.317 GB, free: 0.6367 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/1.319, allocations: 57.88 kB / 1.317 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.921e-05/1.319, allocations: 44.09 kB / 1.317 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.319, allocations: 336.9 kB / 1.317 GB, free: 228 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/1.319, allocations: 80.81 kB / 1.317 GB, free: 192 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/1.319, allocations: 226.4 kB / 1.318 GB, free: 15.99 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/1.32, allocations: 236.3 kB / 1.318 GB, free: 15.84 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.32, allocations: 0 / 1.318 GB, free: 15.84 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006488/1.32, allocations: 287.8 kB / 1.318 GB, free: 15.68 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.32, allocations: 6.156 kB / 1.318 GB, free: 15.68 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.32, allocations: 5.141 kB / 1.318 GB, free: 15.68 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.32, allocations: 3.219 kB / 1.318 GB, free: 15.68 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/1.321, allocations: 43.33 kB / 1.318 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/1.321, allocations: 2.188 kB / 1.318 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/1.321, allocations: 20.5 kB / 1.318 GB, free: 15.65 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/1.321, allocations: 13 kB / 1.318 GB, free: 15.65 MB / 1.17 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.0002221/1.321, allocations: 161.5 kB / 1.318 GB, free: 15.5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.321, allocations: 26.7 kB / 1.318 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008048/1.322, allocations: 309.6 kB / 1.319 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.322, allocations: 2.188 kB / 1.319 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.322, allocations: 0 / 1.319 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.322, allocations: 1.031 kB / 1.319 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/1.324, allocations: 0.7145 MB / 1.319 GB, free: 14.76 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.324, allocations: 1.219 kB / 1.319 GB, free: 14.76 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/1.324, allocations: 38.7 kB / 1.319 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/1.324, allocations: 2.281 kB / 1.319 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/1.324, allocations: 4.5 kB / 1.319 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/1.324, allocations: 10.58 kB / 1.319 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.324, allocations: 6.906 kB / 1.319 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/1.325, allocations: 390.4 kB / 1.32 GB, free: 14.44 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/1.325, allocations: 53.19 kB / 1.32 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/1.325, allocations: 7.781 kB / 1.32 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/1.325, allocations: 15.77 kB / 1.32 GB, free: 14.39 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/1.325, allocations: 26.72 kB / 1.32 GB, free: 14.37 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/1.325, allocations: 13.03 kB / 1.32 GB, free: 14.37 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002132/1.325, allocations: 170.5 kB / 1.32 GB, free: 14.24 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.325, allocations: 0 / 1.32 GB, free: 14.24 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00075/1.326, allocations: 131.6 kB / 1.32 GB, free: 14.11 MB / 1.17 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.0004999/1.327, allocations: 223 kB / 1.32 GB, free: 13.88 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005583/1.327, allocations: 211.9 kB / 1.321 GB, free: 13.67 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.327, allocations: 4.125 kB / 1.321 GB, free: 13.67 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/1.327, allocations: 111.8 kB / 1.321 GB, free: 13.56 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/1.328, allocations: 98.8 kB / 1.321 GB, free: 13.46 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/1.329, allocations: 0.5893 MB / 1.321 GB, free: 12.83 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/1.33, allocations: 184.8 kB / 1.321 GB, free: 12.63 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002621/1.33, allocations: 78.12 kB / 1.322 GB, free: 12.55 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/1.33, allocations: 24.5 kB / 1.322 GB, free: 12.53 MB / 1.17 GB Notification: Performance of SimCode: time 6.41e-07/1.33, allocations: 0 / 1.322 GB, free: 12.53 MB / 1.17 GB Notification: Performance of Templates: time 0.01295/1.343, allocations: 5.922 MB / 1.327 GB, free: 6.723 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.754972032969818]