Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.004997/0.004997, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001344/0.001344, allocations: 192.4 kB / 16.67 MB, free: 5.934 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.443/2.443, allocations: 482.6 MB / 0.7551 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 68.81 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2715, allocations: 162.3 MB / 1.242 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1781/0.4496, allocations: 173.4 MB / 1.411 GB, free: 10.87 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.4524, allocations: 1.845 MB / 1.413 GB, free: 9.023 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.4526, allocations: 15.88 kB / 1.413 GB, free: 9.008 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005694/0.4532, allocations: 218.5 kB / 1.413 GB, free: 8.793 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.4547, allocations: 0.7505 MB / 1.414 GB, free: 8.039 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.4563, allocations: 0.8325 MB / 1.415 GB, free: 7.207 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008427/0.4572, allocations: 0.8417 MB / 1.416 GB, free: 6.363 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/0.4576, allocations: 306.8 kB / 1.416 GB, free: 6.059 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009118/0.4585, allocations: 0.5527 MB / 1.416 GB, free: 5.504 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.4588, allocations: 270.8 kB / 1.417 GB, free: 5.238 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.4589, allocations: 28 kB / 1.417 GB, free: 5.211 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.4604, allocations: 1.091 MB / 1.418 GB, free: 4.117 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.4606, allocations: 127.6 kB / 1.418 GB, free: 3.992 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.4608, allocations: 199 kB / 1.418 GB, free: 3.797 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.4619, allocations: 0.9189 MB / 1.419 GB, free: 2.875 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.462, allocations: 4 kB / 1.419 GB, free: 2.871 MB / 1.139 GB Notification: Performance of FrontEnd: time 9.92e-07/0.462, allocations: 0 / 1.419 GB, free: 2.871 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.462, allocations: 4 kB / 1.419 GB, free: 2.867 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001499/0.4635, allocations: 0.7859 MB / 1.42 GB, free: 2.031 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.4635, allocations: 8.031 kB / 1.42 GB, free: 2.023 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.002e-05/0.4636, allocations: 62.53 kB / 1.42 GB, free: 1.953 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009441/0.4645, allocations: 167.5 kB / 1.42 GB, free: 1.789 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.4651, allocations: 366.1 kB / 1.42 GB, free: 1.395 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.4651, allocations: 28.55 kB / 1.42 GB, free: 1.363 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.4652, allocations: 28 kB / 1.42 GB, free: 1.336 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.4659, allocations: 390.1 kB / 1.421 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4659, allocations: 0 / 1.421 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.4659, allocations: 15.98 kB / 1.421 GB, free: 0.918 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.4659, allocations: 20.5 kB / 1.421 GB, free: 0.8984 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000677/0.4666, allocations: 338 kB / 1.421 GB, free: 0.5703 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.4686, allocations: 1.792 MB / 1.423 GB, free: 14.61 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.4691, allocations: 384.9 kB / 1.423 GB, free: 14.19 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.4694, allocations: 140.8 kB / 1.423 GB, free: 14.05 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/0.47, allocations: 303.2 kB / 1.424 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.47, allocations: 34.55 kB / 1.424 GB, free: 13.66 MB / 1.154 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.47, allocations: 0 / 1.424 GB, free: 13.66 MB / 1.154 GB Notification: Performance of matching and sorting (n=20): time 0.0009173/0.4709, allocations: 390.9 kB / 1.424 GB, free: 13.27 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.471, allocations: 55.41 kB / 1.424 GB, free: 13.2 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.4714, allocations: 357.7 kB / 1.424 GB, free: 12.85 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.4714, allocations: 29.7 kB / 1.424 GB, free: 12.81 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.4715, allocations: 196.3 kB / 1.425 GB, free: 12.62 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.4716, allocations: 79.31 kB / 1.425 GB, free: 12.54 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.4717, allocations: 49.7 kB / 1.425 GB, free: 12.48 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.4719, allocations: 350.7 kB / 1.425 GB, free: 12.13 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.4721, allocations: 87.94 kB / 1.425 GB, free: 12.05 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.4723, allocations: 157.4 kB / 1.425 GB, free: 11.88 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.4728, allocations: 255.6 kB / 1.426 GB, free: 11.61 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4728, allocations: 4 kB / 1.426 GB, free: 11.6 MB / 1.154 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005664/0.4734, allocations: 301.2 kB / 1.426 GB, free: 11.3 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.4734, allocations: 4 kB / 1.426 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4734, allocations: 4 kB / 1.426 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4734, allocations: 4 kB / 1.426 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.4737, allocations: 56.09 kB / 1.426 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.4737, allocations: 3.984 kB / 1.426 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.4739, allocations: 39.77 kB / 1.426 GB, free: 11.19 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.474, allocations: 11.98 kB / 1.426 GB, free: 11.18 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0001566/0.4741, allocations: 161.7 kB / 1.426 GB, free: 11.01 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.4742, allocations: 35.77 kB / 1.426 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005995/0.4748, allocations: 303 kB / 1.426 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.4748, allocations: 4 kB / 1.426 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4748, allocations: 0 / 1.426 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4748, allocations: 0 / 1.426 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.4761, allocations: 0.8934 MB / 1.427 GB, free: 9.691 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4761, allocations: 4 kB / 1.427 GB, free: 9.688 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.4763, allocations: 44.34 kB / 1.427 GB, free: 9.645 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4764, allocations: 11.98 kB / 1.427 GB, free: 9.633 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.4764, allocations: 11.98 kB / 1.427 GB, free: 9.621 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.4764, allocations: 7.984 kB / 1.427 GB, free: 9.613 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4764, allocations: 4 kB / 1.427 GB, free: 9.609 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.477, allocations: 448.5 kB / 1.428 GB, free: 9.121 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4772, allocations: 140.8 kB / 1.428 GB, free: 8.965 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.4772, allocations: 8 kB / 1.428 GB, free: 8.957 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.4774, allocations: 11.92 kB / 1.428 GB, free: 8.945 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.4775, allocations: 27.86 kB / 1.428 GB, free: 8.918 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.4775, allocations: 8 kB / 1.428 GB, free: 8.91 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002774/0.4778, allocations: 259.2 kB / 1.428 GB, free: 8.656 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4778, allocations: 0 / 1.428 GB, free: 8.656 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003969/0.4782, allocations: 99.88 kB / 1.428 GB, free: 8.559 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.001155/0.4794, allocations: 1.047 MB / 1.429 GB, free: 7.457 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005232/0.4799, allocations: 239.7 kB / 1.43 GB, free: 7.223 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4799, allocations: 4 kB / 1.43 GB, free: 7.219 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.4802, allocations: 123.8 kB / 1.43 GB, free: 7.098 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.4812, allocations: 221.9 kB / 1.43 GB, free: 6.887 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004223/0.4855, allocations: 3.304 MB / 1.433 GB, free: 3.387 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.4859, allocations: 0.7996 MB / 1.434 GB, free: 2.559 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002661/0.4862, allocations: 87.22 kB / 1.434 GB, free: 2.473 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.4864, allocations: 119.3 kB / 1.434 GB, free: 2.355 MB / 1.154 GB Notification: Performance of SimCode: time 3.51e-07/0.4864, allocations: 0 / 1.434 GB, free: 2.355 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.286/1.772, allocations: 10.82 MB / 1.445 GB, free: 7.773 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/14.22, allocations: 12.25 kB / 1.445 GB, free: 7.77 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches