Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_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.005266/0.005266, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001121/0.001121, allocations: 193.5 kB / 16.67 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.313/1.313, 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 9.1.3-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.3 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.53 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2682, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1593/0.4276, allocations: 161.3 MB / 1.245 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002068/0.4297, allocations: 0.9626 MB / 1.246 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.4301, allocations: 7.938 kB / 1.246 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007007/0.4308, allocations: 159 kB / 1.246 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.4325, allocations: 0.634 MB / 1.247 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006354/0.4331, allocations: 220.9 kB / 1.247 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007508/0.4339, allocations: 0.5266 MB / 1.247 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.4343, allocations: 172.1 kB / 1.248 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.4349, allocations: 235.1 kB / 1.248 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.4351, allocations: 159.3 kB / 1.248 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.4352, allocations: 19.98 kB / 1.248 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008848/0.4361, allocations: 0.5377 MB / 1.249 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.4362, allocations: 79.78 kB / 1.249 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.4363, allocations: 119.3 kB / 1.249 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007674/0.4371, allocations: 495.5 kB / 1.249 GB, free: 11.71 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4371, allocations: 4 kB / 1.249 GB, free: 11.71 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4371, allocations: 0 / 1.249 GB, free: 11.71 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.4372, allocations: 0 / 1.249 GB, free: 11.71 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001515/0.4387, allocations: 0.5999 MB / 1.25 GB, free: 11.06 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4387, allocations: 8.031 kB / 1.25 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.958e-05/0.4388, allocations: 54.55 kB / 1.25 GB, free: 10.99 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.4391, allocations: 43.69 kB / 1.25 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.4396, allocations: 286.4 kB / 1.25 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4396, allocations: 12.33 kB / 1.25 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.4396, allocations: 16 kB / 1.25 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.4402, allocations: 243.1 kB / 1.25 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4402, allocations: 0 / 1.25 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.4402, allocations: 12 kB / 1.25 GB, free: 10.35 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.4403, allocations: 12 kB / 1.25 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005761/0.4408, allocations: 247.8 kB / 1.251 GB, free: 10.09 MB / 1.014 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.001264/0.4421, allocations: 0.8352 MB / 1.251 GB, free: 9.184 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.4424, allocations: 142.6 kB / 1.252 GB, free: 9.035 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.4427, allocations: 120.7 kB / 1.252 GB, free: 8.914 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.4429, allocations: 186.2 kB / 1.252 GB, free: 8.695 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.443, allocations: 38.5 kB / 1.252 GB, free: 8.648 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.443, allocations: 0 / 1.252 GB, free: 8.648 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0008567/0.4438, allocations: 293.2 kB / 1.252 GB, free: 8.355 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.4439, allocations: 59.41 kB / 1.252 GB, free: 8.285 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.4441, allocations: 245 kB / 1.253 GB, free: 8.039 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.4442, allocations: 29.7 kB / 1.253 GB, free: 8.004 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.4443, allocations: 132.3 kB / 1.253 GB, free: 7.871 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.4443, allocations: 51.3 kB / 1.253 GB, free: 7.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/0.4444, allocations: 33.7 kB / 1.253 GB, free: 7.781 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4445, allocations: 334.8 kB / 1.253 GB, free: 7.445 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.4447, allocations: 63.89 kB / 1.253 GB, free: 7.383 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.4449, allocations: 118.4 kB / 1.253 GB, free: 7.258 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.4453, allocations: 166.4 kB / 1.253 GB, free: 7.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4453, allocations: 0 / 1.253 GB, free: 7.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000459/0.4458, allocations: 217.3 kB / 1.254 GB, free: 6.871 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4458, allocations: 9.5 kB / 1.254 GB, free: 6.863 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4458, allocations: 4 kB / 1.254 GB, free: 6.859 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4458, allocations: 3.938 kB / 1.254 GB, free: 6.855 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.446, allocations: 35.91 kB / 1.254 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.446, allocations: 0 / 1.254 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.4462, allocations: 23.73 kB / 1.254 GB, free: 6.797 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.4462, allocations: 12.06 kB / 1.254 GB, free: 6.785 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001266/0.4464, allocations: 142.3 kB / 1.254 GB, free: 6.637 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.4464, allocations: 23.75 kB / 1.254 GB, free: 6.613 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.4465, allocations: 29.83 kB / 1.254 GB, free: 6.586 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4465, allocations: 4 kB / 1.254 GB, free: 6.582 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4465, allocations: 0 / 1.254 GB, free: 6.582 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4465, allocations: 4.031 kB / 1.254 GB, free: 6.578 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.4476, allocations: 0.6717 MB / 1.255 GB, free: 5.828 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4476, allocations: 4 kB / 1.255 GB, free: 5.824 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.4477, allocations: 44.12 kB / 1.255 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4478, allocations: 0 / 1.255 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.4478, allocations: 7.938 kB / 1.255 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4478, allocations: 4 kB / 1.255 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4478, allocations: 0 / 1.255 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.4483, allocations: 357.1 kB / 1.255 GB, free: 5.383 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.4485, allocations: 116.8 kB / 1.255 GB, free: 5.25 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.4486, allocations: 4 kB / 1.255 GB, free: 5.246 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.4487, allocations: 11.98 kB / 1.255 GB, free: 5.234 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.4488, allocations: 19.92 kB / 1.255 GB, free: 5.215 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.4488, allocations: 4 kB / 1.255 GB, free: 5.211 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002504/0.4491, allocations: 180.5 kB / 1.255 GB, free: 5.035 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4491, allocations: 0 / 1.255 GB, free: 5.035 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003635/0.4495, allocations: 59.91 kB / 1.255 GB, free: 4.977 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.001119/0.4506, allocations: 0.9486 MB / 1.256 GB, free: 3.984 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.4511, allocations: 167.8 kB / 1.256 GB, free: 3.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4511, allocations: 3.938 kB / 1.256 GB, free: 3.816 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.4513, allocations: 92.45 kB / 1.257 GB, free: 3.727 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.4521, allocations: 129.4 kB / 1.257 GB, free: 3.605 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.4555, allocations: 2.447 MB / 1.259 GB, free: 1.027 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.4559, allocations: 0.7558 MB / 1.26 GB, free: 252 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000232/0.4562, allocations: 69.88 kB / 1.26 GB, free: 184 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.4563, allocations: 63.42 kB / 1.26 GB, free: 120 kB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.4563, allocations: 0 / 1.26 GB, free: 120 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5416/0.9979, allocations: 6.926 MB / 1.267 GB, free: 175.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.807, allocations: 11.97 kB / 1.267 GB, free: 175.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches