Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001334/0.001334, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001375/0.001375, allocations: 169.3 kB / 23.02 MB, free: 1.555 MB / 18.57 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.9433/0.9433, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.111/2.111, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.845e-05, allocations: 8.422 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002635/0.002653, allocations: 2.534 MB / 0.8807 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.004517, allocations: 1.682 MB / 0.8823 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.004636, allocations: 7.938 kB / 0.8823 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007395/0.005375, allocations: 320.7 kB / 0.8826 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.005759, allocations: 276.6 kB / 0.8829 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.006119, allocations: 208.1 kB / 0.8831 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.006449, allocations: 423.1 kB / 0.8835 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.006562, allocations: 41.42 kB / 0.8835 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.006752, allocations: 220.5 kB / 0.8837 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.006903, allocations: 151.6 kB / 0.8839 GB, free: 496 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.006936, allocations: 20 kB / 0.8839 GB, free: 476 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.007071, allocations: 89.3 kB / 0.884 GB, free: 388 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.007177, allocations: 131.5 kB / 0.8841 GB, free: 256 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.977e-05/0.007267, allocations: 107.5 kB / 0.8842 GB, free: 148 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.007624, allocations: 354.5 kB / 0.8845 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.007628, allocations: 7.984 kB / 0.8846 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.11e-07/0.007629, allocations: 0 / 0.8846 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.007634, allocations: 0 / 0.8846 GB, free: 15.79 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008044/0.008438, allocations: 0.8968 MB / 0.8854 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.008475, allocations: 12.03 kB / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.008558, allocations: 72.52 kB / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.008939, allocations: 382.1 kB / 0.8859 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.008959, allocations: 8.562 kB / 0.8859 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.008978, allocations: 12.38 kB / 0.8859 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.00915, allocations: 129.1 kB / 0.886 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.009159, allocations: 0 / 0.886 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.009174, allocations: 0 / 0.886 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.009181, allocations: 4 kB / 0.886 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.243e-05/0.009254, allocations: 35.97 kB / 0.8861 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.009849, allocations: 0.5696 MB / 0.8866 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.009994, allocations: 91.2 kB / 0.8867 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.01004, allocations: 31.67 kB / 0.8867 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.01006, allocations: 4 kB / 0.8867 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.0102, allocations: 118.7 kB / 0.8868 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.0102, allocations: 0 / 0.8868 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002815/0.01048, allocations: 200.7 kB / 0.887 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.01051, allocations: 51.41 kB / 0.8871 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.01098, allocations: 0.6596 MB / 0.8877 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.011, allocations: 29.7 kB / 0.8878 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.01118, allocations: 343.2 kB / 0.8881 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.01121, allocations: 39.73 kB / 0.8881 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.01127, allocations: 59.36 kB / 0.8882 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.01144, allocations: 0.5664 MB / 0.8887 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.01149, allocations: 27.98 kB / 0.8888 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.01159, allocations: 145.7 kB / 0.8889 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.0117, allocations: 88.3 kB / 0.889 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.0117, allocations: 4 kB / 0.889 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002232/0.01193, allocations: 214.3 kB / 0.8892 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.01194, allocations: 4 kB / 0.8892 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01194, allocations: 0 / 0.8892 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.01196, allocations: 4 kB / 0.8892 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.01206, allocations: 35.92 kB / 0.8892 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.01206, allocations: 7.938 kB / 0.8892 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.01215, allocations: 23.81 kB / 0.8893 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.01216, allocations: 12 kB / 0.8893 GB, free: 10.68 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001018/0.01226, allocations: 174.5 kB / 0.8894 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.01231, allocations: 67.66 kB / 0.8895 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.01251, allocations: 166.9 kB / 0.8897 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.01251, allocations: 0 / 0.8897 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01252, allocations: 3.938 kB / 0.8897 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01252, allocations: 0 / 0.8897 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.01275, allocations: 352.3 kB / 0.89 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01276, allocations: 0 / 0.89 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.01278, allocations: 15.92 kB / 0.89 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.01279, allocations: 0 / 0.89 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.0128, allocations: 4 kB / 0.89 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.0128, allocations: 4 kB / 0.89 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.0128, allocations: 0 / 0.89 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.01298, allocations: 226.7 kB / 0.8902 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.01303, allocations: 55.58 kB / 0.8903 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.01306, allocations: 4 kB / 0.8903 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-05/0.01312, allocations: 11.98 kB / 0.8903 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.01317, allocations: 15.97 kB / 0.8903 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.01318, allocations: 19.92 kB / 0.8903 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002721/0.01345, allocations: 406.9 kB / 0.8907 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01345, allocations: 0 / 0.8907 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001995/0.01365, allocations: 67.92 kB / 0.8908 GB, free: 9.047 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008533/0.01451, allocations: 408.5 kB / 0.8912 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.0147, allocations: 108.9 kB / 0.8913 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.0147, allocations: 0 / 0.8913 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.305e-05/0.01476, allocations: 54.42 kB / 0.8913 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.01506, allocations: 102.4 kB / 0.8914 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009317/0.01599, allocations: 0.7533 MB / 0.8922 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.414e-05/0.01608, allocations: 136.2 kB / 0.8923 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.198e-05/0.01616, allocations: 46.94 kB / 0.8924 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.01622, allocations: 36.48 kB / 0.8924 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.01622, allocations: 0 / 0.8924 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of Templates: time 0.007648/0.02387, allocations: 4.601 MB / 0.8969 GB, free: 2.977 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.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.607422039844096]