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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.DHC.Networks.Pipes.Validation.Pipe,fileNamePrefix="Buildings_latest_Buildings_DHC_Networks_Pipes_Validation_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Networks.Pipes.Validation.Pipe,fileNamePrefix="Buildings_latest_Buildings_DHC_Networks_Pipes_Validation_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005537/0.005537, allocations: 97.11 kB / 15.73 MB, free: 5.988 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.001481/0.001481, allocations: 187.1 kB / 16.67 MB, free: 5.918 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.692/2.692, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 72.09 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2732, allocations: 162.3 MB / 1.242 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.525/0.7982, allocations: 28.94 MB / 1.27 GB, free: 14.72 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009449/0.8077, allocations: 6.8 MB / 1.277 GB, free: 9.895 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009458/0.8087, allocations: 37.38 kB / 1.277 GB, free: 9.879 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.8097, allocations: 411.7 kB / 1.277 GB, free: 9.617 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003127/0.8129, allocations: 1.293 MB / 1.278 GB, free: 8.891 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.8145, allocations: 0.6329 MB / 1.279 GB, free: 8.586 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002845/0.8174, allocations: 2.142 MB / 1.281 GB, free: 7.629 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007594/0.8182, allocations: 0.5359 MB / 1.282 GB, free: 7.391 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.8199, allocations: 0.95 MB / 1.283 GB, free: 6.949 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006488/0.8206, allocations: 0.5019 MB / 1.283 GB, free: 6.723 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.867e-05/0.8207, allocations: 42.56 kB / 1.283 GB, free: 6.723 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.8226, allocations: 0.9851 MB / 1.284 GB, free: 6.375 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.8228, allocations: 157.7 kB / 1.284 GB, free: 6.285 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003793/0.8232, allocations: 364.9 kB / 1.285 GB, free: 6.078 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.8253, allocations: 1.239 MB / 1.286 GB, free: 5.617 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8253, allocations: 0.5625 kB / 1.286 GB, free: 5.617 MB / 1.014 GB Notification: Performance of FrontEnd: time 9.72e-07/0.8253, allocations: 0.5625 kB / 1.286 GB, free: 5.617 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.8253, allocations: 0 / 1.286 GB, free: 5.617 MB / 1.014 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.001788/0.8271, allocations: 1.166 MB / 1.287 GB, free: 4.746 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.8272, allocations: 9.938 kB / 1.287 GB, free: 4.746 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.083e-05/0.8272, allocations: 71.41 kB / 1.287 GB, free: 4.688 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.8274, allocations: 94.77 kB / 1.287 GB, free: 4.637 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.8288, allocations: 0.7833 MB / 1.288 GB, free: 4.152 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.8289, allocations: 29.66 kB / 1.288 GB, free: 4.141 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.8289, allocations: 46.23 kB / 1.288 GB, free: 4.121 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.8294, allocations: 323.3 kB / 1.288 GB, free: 3.992 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8294, allocations: 0 / 1.288 GB, free: 3.992 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.8295, allocations: 10.41 kB / 1.288 GB, free: 3.984 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.8295, allocations: 8.406 kB / 1.288 GB, free: 3.984 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.8299, allocations: 244.2 kB / 1.288 GB, free: 3.902 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.8318, allocations: 1.454 MB / 1.29 GB, free: 2.898 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.832, allocations: 141.1 kB / 1.29 GB, free: 2.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.8322, allocations: 111.9 kB / 1.29 GB, free: 2.801 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006473/0.8328, allocations: 0.8176 MB / 1.291 GB, free: 1.852 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.8329, allocations: 37.12 kB / 1.291 GB, free: 1.809 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.372e-06/0.8329, allocations: 0 / 1.291 GB, free: 1.809 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.0005423/0.8334, allocations: 317.9 kB / 1.291 GB, free: 1.672 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.8335, allocations: 57.34 kB / 1.291 GB, free: 1.605 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/0.8343, allocations: 0.7176 MB / 1.292 GB, free: 1.297 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.8343, allocations: 32.69 kB / 1.292 GB, free: 1.262 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.8346, allocations: 370.8 kB / 1.292 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.8347, allocations: 72.42 kB / 1.292 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.8349, allocations: 99.95 kB / 1.293 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.835, allocations: 318.5 kB / 1.293 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.8352, allocations: 109.6 kB / 1.293 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.8356, allocations: 272.9 kB / 1.293 GB, free: 284 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.8361, allocations: 350.8 kB / 1.294 GB, free: 24 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8361, allocations: 5.25 kB / 1.294 GB, free: 20 kB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000749/0.8368, allocations: 442.3 kB / 1.294 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8369, allocations: 7.625 kB / 1.294 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.8369, allocations: 9.094 kB / 1.294 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.8369, allocations: 6.875 kB / 1.294 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/0.8411, allocations: 0.6869 MB / 1.295 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007575/0.8419, allocations: 1.202 MB / 1.296 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.8424, allocations: 51.77 kB / 1.296 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.8424, allocations: 20.34 kB / 1.296 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003283/0.8427, allocations: 246.1 kB / 1.296 GB, free: 14.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003044/0.8431, allocations: 285.5 kB / 1.296 GB, free: 14.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004139/0.8435, allocations: 359.9 kB / 1.297 GB, free: 13.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.8435, allocations: 1.719 kB / 1.297 GB, free: 13.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006289/0.8441, allocations: 441.2 kB / 1.297 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.8441, allocations: 6.531 kB / 1.297 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.8442, allocations: 6.094 kB / 1.297 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.8442, allocations: 6.719 kB / 1.297 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003957/0.8481, allocations: 0.6799 MB / 1.298 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007115/0.8489, allocations: 1.206 MB / 1.299 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.8493, allocations: 40.05 kB / 1.299 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.8493, allocations: 19.05 kB / 1.299 GB, free: 12.45 MB / 1.029 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.0001648/0.8495, allocations: 213.6 kB / 1.299 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.8496, allocations: 78.8 kB / 1.299 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006031/0.8502, allocations: 392 kB / 1.3 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.8502, allocations: 4 kB / 1.3 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8503, allocations: 7.938 kB / 1.3 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.8503, allocations: 2.906 kB / 1.3 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.8516, allocations: 0.9999 MB / 1.301 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.8516, allocations: 6.312 kB / 1.301 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.8517, allocations: 28.69 kB / 1.301 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.8517, allocations: 4.234 kB / 1.301 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.8517, allocations: 8.141 kB / 1.301 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.8517, allocations: 7.938 kB / 1.301 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8517, allocations: 2.844 kB / 1.301 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.8522, allocations: 465.3 kB / 1.301 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.8524, allocations: 175.6 kB / 1.301 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.8525, allocations: 5.156 kB / 1.301 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.8527, allocations: 16.03 kB / 1.301 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.8528, allocations: 22.19 kB / 1.301 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.8528, allocations: 10.14 kB / 1.302 GB, free: 10.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000578/0.8534, allocations: 0.4967 MB / 1.302 GB, free: 10.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8534, allocations: 0 / 1.302 GB, free: 10.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001085/0.8545, allocations: 389.1 kB / 1.302 GB, free: 10.61 MB / 1.029 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.00141/0.8559, allocations: 1.272 MB / 1.304 GB, free: 9.652 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01233/0.8682, allocations: 2.234 MB / 1.306 GB, free: 9.426 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.8683, allocations: 0 / 1.306 GB, free: 9.426 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.8685, allocations: 121.5 kB / 1.306 GB, free: 9.387 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.8699, allocations: 293.9 kB / 1.306 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006249/0.8761, allocations: 4.982 MB / 1.311 GB, free: 6.391 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.8767, allocations: 0.9253 MB / 1.312 GB, free: 5.672 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005847/0.8773, allocations: 182.6 kB / 1.312 GB, free: 5.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.8776, allocations: 252 kB / 1.312 GB, free: 5.449 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.8776, allocations: 0 / 1.312 GB, free: 5.449 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.146/4.023, allocations: 20.38 MB / 1.332 GB, free: 15.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.5/28.53, allocations: 14.19 kB / 1.332 GB, free: 15.49 MB / 1.045 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Networks_Pipes_Validation_Pipe_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Networks_Pipes_Validation_Pipe.fmu > 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/jenkins1/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