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.001099/0.001099, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001458/0.002557, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001061/0.001061, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.002374, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9496/0.9496, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09271/1.042, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.85/1.85, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5359/2.386, allocations: 123.3 MB / 0.728 GB, free: 5.789 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.346e-05, allocations: 9.766 kB / 0.7294 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.128/0.128, allocations: 146.6 MB / 0.8725 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.1305, allocations: 2.327 MB / 0.8748 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.1307, allocations: 15.88 kB / 0.8748 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.1309, allocations: 99.09 kB / 0.8749 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.1319, allocations: 0.6489 MB / 0.8755 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007427/0.1326, allocations: 0.5103 MB / 0.876 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005515/0.1332, allocations: 0.7289 MB / 0.8768 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.1335, allocations: 238.1 kB / 0.877 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.1339, allocations: 407.7 kB / 0.8774 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.1344, allocations: 390.9 kB / 0.8777 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.1344, allocations: 24 kB / 0.8778 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000554/0.135, allocations: 486.7 kB / 0.8782 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.1351, allocations: 99.69 kB / 0.8783 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.1352, allocations: 107.8 kB / 0.8784 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.1356, allocations: 474.5 kB / 0.8789 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.1357, allocations: 0 / 0.8789 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1357, allocations: 0 / 0.8789 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.1357, allocations: 0 / 0.8789 GB, free: 11.01 MB / 0.8542 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.000609/0.1363, allocations: 0.6551 MB / 0.8795 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.1363, allocations: 12.02 kB / 0.8795 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005493/0.1369, allocations: 261.4 kB / 0.8798 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1371, allocations: 268.4 kB / 0.88 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.1372, allocations: 72.06 kB / 0.8801 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.1372, allocations: 31.98 kB / 0.8801 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1375, allocations: 288.5 kB / 0.8804 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1375, allocations: 0 / 0.8804 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1375, allocations: 15.98 kB / 0.8804 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1375, allocations: 4 kB / 0.8804 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1376, allocations: 94.17 kB / 0.8805 GB, free: 9.227 MB / 0.8542 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.0007724/0.1384, allocations: 0.8771 MB / 0.8814 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.1385, allocations: 114.9 kB / 0.8815 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.1386, allocations: 38.34 kB / 0.8815 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.1388, allocations: 75.92 kB / 0.8816 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.1388, allocations: 34.56 kB / 0.8816 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.1388, allocations: 0 / 0.8816 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002527/0.1391, allocations: 133.4 kB / 0.8818 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.1391, allocations: 55.34 kB / 0.8818 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1392, allocations: 228.9 kB / 0.882 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1392, allocations: 29.7 kB / 0.8821 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.1393, allocations: 177 kB / 0.8822 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1393, allocations: 55.47 kB / 0.8823 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.1394, allocations: 37.7 kB / 0.8823 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.1395, allocations: 334.8 kB / 0.8826 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.984e-05/0.1395, allocations: 22.81 kB / 0.8827 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.511e-05/0.1396, allocations: 145.1 kB / 0.8828 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.286e-05/0.1397, allocations: 111.5 kB / 0.8829 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1397, allocations: 0 / 0.8829 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000153/0.1398, allocations: 123.7 kB / 0.883 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1398, allocations: 8 kB / 0.883 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1398, allocations: 0 / 0.883 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.1398, allocations: 4.188 kB / 0.883 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.14, allocations: 51.84 kB / 0.8831 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.14, allocations: 4 kB / 0.8831 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.31e-05/0.14, allocations: 19.89 kB / 0.8831 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.14, allocations: 15.98 kB / 0.8831 GB, free: 6.379 MB / 0.8542 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 7.214e-05/0.1401, allocations: 120.6 kB / 0.8832 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.1402, allocations: 15.98 kB / 0.8832 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.1403, allocations: 139.2 kB / 0.8834 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1403, allocations: 48 / 0.8834 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1403, allocations: 7.922 kB / 0.8834 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1403, allocations: 0 / 0.8834 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.1408, allocations: 0.5194 MB / 0.8839 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1408, allocations: 4 kB / 0.8839 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.1409, allocations: 31.92 kB / 0.8839 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.1409, allocations: 35.84 kB / 0.884 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1409, allocations: 3.984 kB / 0.884 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1409, allocations: 8 kB / 0.884 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1409, allocations: 4.219 kB / 0.884 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1409, allocations: 4 kB / 0.884 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1411, allocations: 310.1 kB / 0.8843 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1411, allocations: 4 kB / 0.8843 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.1412, allocations: 8 kB / 0.8843 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.1412, allocations: 15.97 kB / 0.8843 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1413, allocations: 11.94 kB / 0.8843 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.1413, allocations: 74.78 kB / 0.8844 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.1413, allocations: 0 / 0.8844 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002354/0.1415, allocations: 115.6 kB / 0.8845 GB, free: 4.848 MB / 0.8542 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 (15): * Single equations (assignments): 15 * 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.0002358/0.1418, allocations: 164.1 kB / 0.8847 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.1419, allocations: 80.7 kB / 0.8847 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.1419, allocations: 4 kB / 0.8847 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.912e-05/0.142, allocations: 48.7 kB / 0.8848 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1423, allocations: 125.4 kB / 0.8849 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.1444, allocations: 0.5721 MB / 0.8855 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.684e-05/0.1444, allocations: 96.16 kB / 0.8856 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.1445, allocations: 37.94 kB / 0.8856 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.1447, allocations: 135.2 kB / 0.8857 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of SimCode: time 9.62e-07/0.1447, allocations: 0 / 0.8857 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of Templates: time 0.007594/0.1523, allocations: 5.884 MB / 0.8915 GB, free: 13.74 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.165232164785266]