Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.001086/0.001086, allocations: 76.17 kB / 9.93 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002551, 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.001051/0.001051, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001287/0.002338, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9536/0.9536, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08792/1.042, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.795/1.795, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4413/2.237, allocations: 123.3 MB / 0.728 GB, free: 5.82 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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.212e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1221/0.1221, allocations: 146.5 MB / 0.8725 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003677/0.1258, allocations: 3.911 MB / 0.8763 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.126, allocations: 19.81 kB / 0.8763 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.1263, allocations: 139 kB / 0.8764 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009276/0.1273, allocations: 0.5982 MB / 0.877 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.128, allocations: 445.2 kB / 0.8774 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008072/0.1288, allocations: 1.026 MB / 0.8784 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.1293, allocations: 268.6 kB / 0.8787 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008479/0.1301, allocations: 0.6351 MB / 0.8793 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.1304, allocations: 287.2 kB / 0.8796 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.1304, allocations: 28 kB / 0.8796 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.1308, allocations: 327.1 kB / 0.8799 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1309, allocations: 143.6 kB / 0.8801 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1311, allocations: 123.8 kB / 0.8802 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.1316, allocations: 478.4 kB / 0.8806 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.1316, allocations: 0 / 0.8806 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1316, allocations: 0 / 0.8806 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.1316, allocations: 0 / 0.8806 GB, free: 9.254 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000667/0.1323, allocations: 0.7175 MB / 0.8813 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.1323, allocations: 8.031 kB / 0.8814 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005631/0.1328, allocations: 257.6 kB / 0.8816 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.1332, allocations: 315.7 kB / 0.8819 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1332, allocations: 20.66 kB / 0.8819 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.1332, allocations: 32 kB / 0.882 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.1335, allocations: 312.4 kB / 0.8823 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1335, allocations: 3.938 kB / 0.8823 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1335, allocations: 20 kB / 0.8823 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1335, allocations: 8 kB / 0.8823 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1336, allocations: 91.09 kB / 0.8824 GB, free: 7.387 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.0007077/0.1343, allocations: 0.5696 MB / 0.8829 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.1345, allocations: 205.1 kB / 0.8831 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.1346, allocations: 68.22 kB / 0.8832 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.543e-05/0.1347, allocations: 24.27 kB / 0.8832 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1347, allocations: 38.84 kB / 0.8832 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.1347, allocations: 0 / 0.8832 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35): time 0.0007898/0.1355, allocations: 0.5019 MB / 0.8837 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.1355, allocations: 55.41 kB / 0.8838 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1356, allocations: 247 kB / 0.884 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1357, allocations: 37.64 kB / 0.8841 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.1357, allocations: 157.1 kB / 0.8842 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.143e-05/0.1358, allocations: 126.9 kB / 0.8843 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.1358, allocations: 57.67 kB / 0.8844 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.672e-05/0.1359, allocations: 354.7 kB / 0.8847 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.767e-05/0.136, allocations: 30.81 kB / 0.8848 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.895e-05/0.1361, allocations: 138.5 kB / 0.8849 GB, free: 4.656 MB / 0.8542 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.1363, allocations: 222 kB / 0.8851 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1363, allocations: 4 kB / 0.8851 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000164/0.1365, allocations: 149.3 kB / 0.8852 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1365, allocations: 4 kB / 0.8852 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1365, allocations: 7.984 kB / 0.8853 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.1365, allocations: 4.031 kB / 0.8853 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.1367, allocations: 79.91 kB / 0.8853 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.1367, allocations: 0 / 0.8853 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.1368, allocations: 8 kB / 0.8853 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.1369, allocations: 12 kB / 0.8854 GB, free: 4.164 MB / 0.8542 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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 8.589e-05/0.1369, allocations: 136.5 kB / 0.8855 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.137, allocations: 31.97 kB / 0.8855 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.137, allocations: 47.03 kB / 0.8856 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.137, allocations: 8 kB / 0.8856 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.137, allocations: 0 / 0.8856 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000169/0.1372, allocations: 220.2 kB / 0.8858 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006465/0.1378, allocations: 0.725 MB / 0.8865 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1379, allocations: 7.938 kB / 0.8865 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.1381, allocations: 94.72 kB / 0.8866 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-05/0.1381, allocations: 47.78 kB / 0.8866 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1381, allocations: 4 kB / 0.8866 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1382, allocations: 15.94 kB / 0.8866 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1382, allocations: 4 kB / 0.8867 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1382, allocations: 4 kB / 0.8867 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.1385, allocations: 496.7 kB / 0.8871 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.1385, allocations: 8 kB / 0.8871 GB, free: 2.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1387, allocations: 15.98 kB / 0.8872 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1387, allocations: 35.89 kB / 0.8872 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1387, allocations: 12 kB / 0.8872 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.322e-05/0.1388, allocations: 92.62 kB / 0.8873 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1388, allocations: 0 / 0.8873 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000248/0.1391, allocations: 112 kB / 0.8874 GB, free: 1.879 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * 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.0001672/0.1392, allocations: 128.2 kB / 0.8875 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1394, allocations: 145.3 kB / 0.8877 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.1394, allocations: 8 kB / 0.8877 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.396e-05/0.1395, allocations: 93.12 kB / 0.8877 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.14, allocations: 235.8 kB / 0.888 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.1432, allocations: 0.8427 MB / 0.8888 GB, free: 360 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.487e-05/0.1432, allocations: 117.8 kB / 0.8889 GB, free: 220 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.1434, allocations: 54.94 kB / 0.889 GB, free: 168 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.1436, allocations: 169.2 kB / 0.8891 GB, free: 0 / 0.8542 GB Notification: Performance of SimCode: time 8.91e-07/0.1436, allocations: 0 / 0.8891 GB, free: 0 / 0.8542 GB Notification: Performance of Templates: time 0.008763/0.1524, allocations: 7.516 MB / 0.8965 GB, free: 8.672 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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: 4.978007677942514]