Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe") translateModel(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001102, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.584/2.584, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003708, allocations: 15.98 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8185, allocations: 142.4 MB / 0.9545 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe): time 0.02836/0.8469, allocations: 26.59 MB / 0.9804 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.8577, allocations: 6.37 MB / 0.9866 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.8594, allocations: 34.19 kB / 0.9867 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.8606, allocations: 289.7 kB / 0.9869 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.8645, allocations: 1.071 MB / 0.988 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.8665, allocations: 0.5225 MB / 0.9885 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003869/0.8704, allocations: 2.397 MB / 0.9908 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008353/0.8712, allocations: 431.2 kB / 0.9913 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.8729, allocations: 0.696 MB / 0.9919 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007255/0.8737, allocations: 0.5016 MB / 0.9924 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.744e-05/0.8738, allocations: 20 kB / 0.9924 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.8759, allocations: 0.8146 MB / 0.9932 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.876, allocations: 119.4 kB / 0.9934 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.8763, allocations: 165.3 kB / 0.9935 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.8775, allocations: 0.865 MB / 0.9944 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8775, allocations: 4 kB / 0.9944 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.636e-06/0.8775, allocations: 0 / 0.9944 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.8775, allocations: 3.938 kB / 0.9944 GB, free: 6.535 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001504/0.8791, allocations: 1.016 MB / 0.9954 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.8791, allocations: 8.562 kB / 0.9954 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.8793, allocations: 90.95 kB / 0.9954 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.8806, allocations: 0.6917 MB / 0.9961 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.8807, allocations: 29 kB / 0.9962 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.8807, allocations: 44 kB / 0.9962 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.8813, allocations: 326.5 kB / 0.9965 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.8813, allocations: 0 / 0.9965 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.8814, allocations: 15.95 kB / 0.9965 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.8814, allocations: 8 kB / 0.9965 GB, free: 4.223 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/0.8818, allocations: 243.8 kB / 0.9968 GB, free: 3.984 MB / 0.7481 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.001974/0.8838, allocations: 1.461 MB / 0.9982 GB, free: 2.398 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.884, allocations: 146.5 kB / 0.9983 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.8842, allocations: 101.5 kB / 0.9984 GB, free: 2.145 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/0.8848, allocations: 0.8275 MB / 0.9992 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.8849, allocations: 38.45 kB / 0.9993 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.964e-06/0.8849, allocations: 0 / 0.9993 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0005616/0.8854, allocations: 313.6 kB / 0.9996 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.8855, allocations: 51.41 kB / 0.9996 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000883/0.8864, allocations: 0.7157 MB / 1 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.8864, allocations: 33.7 kB / 1 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.8867, allocations: 359.6 kB / 1.001 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.8868, allocations: 75.02 kB / 1.001 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.8868, allocations: 8 kB / 1.001 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8869, allocations: 322 kB / 1.001 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.8871, allocations: 96.81 kB / 1.001 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.8874, allocations: 269.4 kB / 1.001 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.8877, allocations: 143.9 kB / 1.002 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.8877, allocations: 8 kB / 1.002 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006572/0.8883, allocations: 432.3 kB / 1.002 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.8885, allocations: 216.8 kB / 1.002 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8885, allocations: 8 kB / 1.002 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.8886, allocations: 8 kB / 1.002 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004577/0.8931, allocations: 0.6476 MB / 1.003 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007593/0.8939, allocations: 1.211 MB / 1.004 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.8945, allocations: 43.58 kB / 1.004 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.8945, allocations: 24 kB / 1.004 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.8945, allocations: 4 kB / 1.004 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005538/0.8951, allocations: 339.7 kB / 1.004 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8951, allocations: 11.92 kB / 1.004 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.8951, allocations: 4 kB / 1.004 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004404/0.8995, allocations: 0.648 MB / 1.005 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007064/0.9003, allocations: 1.199 MB / 1.006 GB, free: 9.676 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.9008, allocations: 47.95 kB / 1.006 GB, free: 9.629 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.9008, allocations: 20 kB / 1.006 GB, free: 9.609 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000377/0.9012, allocations: 272.9 kB / 1.007 GB, free: 9.332 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.9013, allocations: 79.02 kB / 1.007 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006648/0.902, allocations: 393.2 kB / 1.007 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.902, allocations: 4 kB / 1.007 GB, free: 8.859 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.902, allocations: 0 / 1.007 GB, free: 8.859 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.902, allocations: 3.984 kB / 1.007 GB, free: 8.855 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.9034, allocations: 0.9984 MB / 1.008 GB, free: 7.777 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.9035, allocations: 4 kB / 1.008 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.9036, allocations: 35.92 kB / 1.008 GB, free: 7.738 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.9036, allocations: 4 kB / 1.008 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.9036, allocations: 7.938 kB / 1.008 GB, free: 7.727 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.9036, allocations: 4 kB / 1.008 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.9036, allocations: 8.188 kB / 1.008 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/0.9042, allocations: 473.5 kB / 1.009 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.9044, allocations: 188.2 kB / 1.009 GB, free: 7.008 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/0.9045, allocations: 8 kB / 1.009 GB, free: 7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.9048, allocations: 27.83 kB / 1.009 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.9048, allocations: 19.92 kB / 1.009 GB, free: 6.953 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.9048, allocations: 15.98 kB / 1.009 GB, free: 6.938 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006069/0.9054, allocations: 0.4912 MB / 1.009 GB, free: 6.453 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9055, allocations: 0 / 1.009 GB, free: 6.453 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001153/0.9066, allocations: 383.5 kB / 1.01 GB, free: 6.078 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007996/0.9074, allocations: 401.3 kB / 1.01 GB, free: 5.688 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01373/0.9212, allocations: 2.159 MB / 1.012 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.9212, allocations: 3.938 kB / 1.012 GB, free: 3.523 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.9214, allocations: 119.9 kB / 1.012 GB, free: 3.406 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.923, allocations: 276.5 kB / 1.012 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.9249, allocations: 1.267 MB / 1.014 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.9254, allocations: 0.9219 MB / 1.015 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006177/0.926, allocations: 189.2 kB / 1.015 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.82e-05/0.9261, allocations: 51.38 kB / 1.015 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of SimCode: time 7.91e-07/0.9261, allocations: 8 kB / 1.015 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of Templates: time 0.02453/0.9507, allocations: 13.13 MB / 1.028 GB, free: 3.699 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.sim & ./Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Networks_Combined_BaseClasses_Validation_Pipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches