Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Pipes.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DHC.Networks.Pipes.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_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe") translateModel(Buildings.DHC.Networks.Pipes.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_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01118/0.01118, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.002478/0.002478, allocations: 195.2 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.889/2.889, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.91 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3681, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03064/0.3988, allocations: 28.92 MB / 1.236 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.4091, allocations: 6.789 MB / 1.243 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.4108, allocations: 39.75 kB / 1.243 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.4125, allocations: 409.1 kB / 1.243 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004343/0.4169, allocations: 1.371 MB / 1.244 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.419, allocations: 0.6349 MB / 1.245 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003567/0.4226, allocations: 2.151 MB / 1.247 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.4237, allocations: 0.5439 MB / 1.248 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8093/1.233, allocations: 0.8142 MB / 1.248 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/1.235, allocations: 0.517 MB / 1.249 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002543/1.235, allocations: 42.38 kB / 1.249 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003526/1.239, allocations: 0.9977 MB / 1.25 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/1.239, allocations: 146.2 kB / 1.25 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007227/1.24, allocations: 381 kB / 1.25 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/1.243, allocations: 1.225 MB / 1.252 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.243, allocations: 3.234 kB / 1.252 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/1.243, allocations: 0.9375 kB / 1.252 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.981e-05/1.243, allocations: 0 / 1.252 GB, free: 5.598 MB / 0.9981 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.001687/1.244, allocations: 1.136 MB / 1.253 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.244, allocations: 9.5 kB / 1.253 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/1.245, allocations: 87.88 kB / 1.253 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/1.246, allocations: 0.7669 MB / 1.254 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/1.246, allocations: 30.81 kB / 1.254 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/1.246, allocations: 37.78 kB / 1.254 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007057/1.247, allocations: 323 kB / 1.254 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/1.247, allocations: 3.469 kB / 1.254 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/1.247, allocations: 10.38 kB / 1.254 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/1.247, allocations: 11.56 kB / 1.254 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/1.247, allocations: 244 kB / 1.254 GB, free: 4.512 MB / 0.9981 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.002554/1.25, allocations: 1.456 MB / 1.256 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/1.25, allocations: 143.2 kB / 1.256 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/1.25, allocations: 114 kB / 1.256 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005999/1.251, allocations: 0.8175 MB / 1.257 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/1.251, allocations: 35.59 kB / 1.257 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.714e-06/1.251, allocations: 0 / 1.257 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0007149/1.252, allocations: 304.8 kB / 1.257 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/1.252, allocations: 52.11 kB / 1.257 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009493/1.253, allocations: 0.7266 MB / 1.258 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/1.253, allocations: 32.58 kB / 1.258 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/1.253, allocations: 360.3 kB / 1.258 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/1.253, allocations: 78.88 kB / 1.258 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/1.253, allocations: 94.66 kB / 1.258 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/1.254, allocations: 327.3 kB / 1.259 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/1.254, allocations: 104.4 kB / 1.259 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/1.254, allocations: 274.8 kB / 1.259 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/1.254, allocations: 353.7 kB / 1.259 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.255, allocations: 3.75 kB / 1.259 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006608/1.255, allocations: 440.9 kB / 1.26 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.255, allocations: 13.64 kB / 1.26 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.255, allocations: 9.812 kB / 1.26 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/1.255, allocations: 5.562 kB / 1.26 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004586/1.26, allocations: 0.6709 MB / 1.26 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006628/1.261, allocations: 1.212 MB / 1.262 GB, free: 16.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/1.261, allocations: 45.03 kB / 1.262 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/1.261, allocations: 23.77 kB / 1.262 GB, free: 16.33 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004103/1.262, allocations: 245.5 kB / 1.262 GB, free: 16.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003343/1.262, allocations: 278.5 kB / 1.262 GB, free: 16.04 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004583/1.262, allocations: 356.2 kB / 1.262 GB, free: 15.86 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.061e-06/1.262, allocations: 4.281 kB / 1.263 GB, free: 15.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008395/1.263, allocations: 436.3 kB / 1.263 GB, free: 15.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.263, allocations: 7.469 kB / 1.263 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.263, allocations: 5.812 kB / 1.263 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.263, allocations: 11.53 kB / 1.263 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004635/1.268, allocations: 0.6743 MB / 1.264 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007184/1.269, allocations: 1.21 MB / 1.265 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/1.269, allocations: 33.17 kB / 1.265 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/1.269, allocations: 23.98 kB / 1.265 GB, free: 14.59 MB / 1.014 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002314/1.27, allocations: 206.4 kB / 1.265 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/1.27, allocations: 77.78 kB / 1.265 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007947/1.271, allocations: 386.1 kB / 1.265 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/1.271, allocations: 4.328 kB / 1.265 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.271, allocations: 0.75 kB / 1.265 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.271, allocations: 3.266 kB / 1.265 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/1.272, allocations: 1.008 MB / 1.266 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/1.272, allocations: 2.406 kB / 1.266 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/1.272, allocations: 31.83 kB / 1.266 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/1.272, allocations: 8.312 kB / 1.267 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/1.272, allocations: 9 kB / 1.267 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/1.272, allocations: 3.516 kB / 1.267 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.272, allocations: 2.781 kB / 1.267 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/1.273, allocations: 461.7 kB / 1.267 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/1.273, allocations: 170.5 kB / 1.267 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/1.273, allocations: 8.172 kB / 1.267 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/1.274, allocations: 11.06 kB / 1.267 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/1.274, allocations: 25.36 kB / 1.267 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/1.274, allocations: 10.91 kB / 1.267 GB, free: 13.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007509/1.275, allocations: 0.5 MB / 1.268 GB, free: 13.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.275, allocations: 0 / 1.268 GB, free: 13.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001513/1.276, allocations: 391.6 kB / 1.268 GB, free: 13.38 MB / 1.014 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 (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.0009087/1.277, allocations: 380.4 kB / 1.268 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01546/1.292, allocations: 2.227 MB / 1.271 GB, free: 13.15 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.292, allocations: 1.5 kB / 1.271 GB, free: 13.15 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/1.293, allocations: 116.8 kB / 1.271 GB, free: 13.15 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/1.295, allocations: 292.3 kB / 1.271 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/1.297, allocations: 1.072 MB / 1.272 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/1.298, allocations: 0.9216 MB / 1.273 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006799/1.298, allocations: 178.3 kB / 1.273 GB, free: 11.83 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/1.299, allocations: 55.16 kB / 1.273 GB, free: 11.82 MB / 1.014 GB Notification: Performance of SimCode: time 1.934e-06/1.299, allocations: 0 / 1.273 GB, free: 11.82 MB / 1.014 GB Notification: Performance of Templates: time 0.03595/1.334, allocations: 13.65 MB / 1.286 GB, free: 10.65 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile (rm -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches