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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.003851/0.003851, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001019/0.001019, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.672/2.672, allocations: 469.4 MB / 0.7421 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.279, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.7773/1.056, allocations: 161.3 MB / 1.377 GB, free: 7.484 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002011/1.058, allocations: 0.9573 MB / 1.378 GB, free: 6.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003859/1.059, allocations: 9.188 kB / 1.378 GB, free: 6.816 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006447/1.06, allocations: 162.7 kB / 1.378 GB, free: 6.715 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/1.061, allocations: 0.6545 MB / 1.379 GB, free: 6.379 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007328/1.062, allocations: 236 kB / 1.379 GB, free: 6.262 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000785/1.063, allocations: 0.5198 MB / 1.38 GB, free: 6.027 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/1.063, allocations: 177.9 kB / 1.38 GB, free: 5.957 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005769/1.064, allocations: 238.2 kB / 1.38 GB, free: 5.855 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/1.064, allocations: 156.3 kB / 1.38 GB, free: 5.789 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/1.064, allocations: 18.62 kB / 1.38 GB, free: 5.785 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/1.065, allocations: 0.5485 MB / 1.381 GB, free: 5.527 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/1.066, allocations: 85.19 kB / 1.381 GB, free: 5.473 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/1.066, allocations: 109.8 kB / 1.381 GB, free: 5.406 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009866/1.067, allocations: 494.2 kB / 1.382 GB, free: 5.117 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.067, allocations: 0 / 1.382 GB, free: 5.117 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.343e-06/1.067, allocations: 3.938 kB / 1.382 GB, free: 5.113 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.05e-05/1.067, allocations: 1.344 kB / 1.382 GB, free: 5.113 MB / 1.076 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.001584/1.068, allocations: 0.6043 MB / 1.382 GB, free: 4.566 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.068, allocations: 17.11 kB / 1.382 GB, free: 4.559 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.773e-05/1.068, allocations: 48.73 kB / 1.382 GB, free: 4.508 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/1.069, allocations: 52.95 kB / 1.382 GB, free: 4.48 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/1.069, allocations: 287.7 kB / 1.382 GB, free: 4.203 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/1.069, allocations: 14.83 kB / 1.382 GB, free: 4.195 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/1.069, allocations: 23.98 kB / 1.383 GB, free: 4.184 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/1.07, allocations: 236 kB / 1.383 GB, free: 4.043 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.07, allocations: 0 / 1.383 GB, free: 4.043 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/1.07, allocations: 5.5 kB / 1.383 GB, free: 4.039 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/1.07, allocations: 12.44 kB / 1.383 GB, free: 4.035 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000623/1.071, allocations: 256.4 kB / 1.383 GB, free: 3.91 MB / 1.076 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.001355/1.072, allocations: 0.8401 MB / 1.384 GB, free: 3.195 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/1.072, allocations: 139.2 kB / 1.384 GB, free: 3.117 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/1.073, allocations: 113.1 kB / 1.384 GB, free: 3.059 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/1.073, allocations: 188.8 kB / 1.384 GB, free: 2.859 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/1.073, allocations: 35.81 kB / 1.384 GB, free: 2.816 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/1.073, allocations: 0 / 1.384 GB, free: 2.816 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0008924/1.074, allocations: 309.3 kB / 1.385 GB, free: 2.652 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/1.074, allocations: 53.59 kB / 1.385 GB, free: 2.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/1.074, allocations: 244.2 kB / 1.385 GB, free: 2.422 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/1.074, allocations: 26.55 kB / 1.385 GB, free: 2.391 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/1.074, allocations: 138.4 kB / 1.385 GB, free: 2.262 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/1.074, allocations: 46.14 kB / 1.385 GB, free: 2.223 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-05/1.074, allocations: 42.72 kB / 1.385 GB, free: 2.188 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.074, allocations: 332.7 kB / 1.385 GB, free: 1.859 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/1.075, allocations: 65.59 kB / 1.385 GB, free: 1.828 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/1.075, allocations: 104.7 kB / 1.386 GB, free: 1.762 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/1.075, allocations: 166.2 kB / 1.386 GB, free: 1.664 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.075, allocations: 1.312 kB / 1.386 GB, free: 1.664 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004834/1.076, allocations: 213.6 kB / 1.386 GB, free: 1.543 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.076, allocations: 9.156 kB / 1.386 GB, free: 1.539 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.076, allocations: 1.312 kB / 1.386 GB, free: 1.539 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.076, allocations: 2 kB / 1.386 GB, free: 1.539 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/1.076, allocations: 34.52 kB / 1.386 GB, free: 1.527 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/1.076, allocations: 4.969 kB / 1.386 GB, free: 1.523 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/1.076, allocations: 28.89 kB / 1.386 GB, free: 1.504 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/1.076, allocations: 8.047 kB / 1.386 GB, free: 1.5 MB / 1.076 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.000135/1.076, allocations: 145.5 kB / 1.386 GB, free: 1.363 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/1.077, allocations: 25.83 kB / 1.386 GB, free: 1.348 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.368e-05/1.077, allocations: 32.39 kB / 1.386 GB, free: 1.324 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.077, allocations: 9.656 kB / 1.386 GB, free: 1.316 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.077, allocations: 1.312 kB / 1.386 GB, free: 1.316 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.077, allocations: 0.75 kB / 1.386 GB, free: 1.316 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/1.078, allocations: 0.6796 MB / 1.387 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.078, allocations: 2.406 kB / 1.387 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/1.078, allocations: 35.34 kB / 1.387 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/1.078, allocations: 1.656 kB / 1.387 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/1.078, allocations: 3.094 kB / 1.387 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/1.078, allocations: 7.156 kB / 1.387 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.078, allocations: 1.719 kB / 1.387 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/1.079, allocations: 364.3 kB / 1.387 GB, free: 440 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/1.079, allocations: 115.2 kB / 1.387 GB, free: 320 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/1.079, allocations: 6.688 kB / 1.387 GB, free: 316 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/1.079, allocations: 5.438 kB / 1.387 GB, free: 316 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/1.079, allocations: 18.64 kB / 1.387 GB, free: 304 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/1.079, allocations: 8.516 kB / 1.387 GB, free: 300 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001647/1.079, allocations: 180.4 kB / 1.388 GB, free: 172 kB / 1.076 GB Notification: Performance of sort global known variables: time 2.1e-07/1.079, allocations: 0.8438 kB / 1.388 GB, free: 172 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003828/1.08, allocations: 63.72 kB / 1.388 GB, free: 156 kB / 1.076 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.001057/1.081, allocations: 0.9398 MB / 1.389 GB, free: 15.3 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004744/1.081, allocations: 180.6 kB / 1.389 GB, free: 15.22 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.081, allocations: 0 / 1.389 GB, free: 15.22 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/1.081, allocations: 102.7 kB / 1.389 GB, free: 15.17 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008096/1.082, allocations: 127.8 kB / 1.389 GB, free: 15.1 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/1.085, allocations: 2.465 MB / 1.391 GB, free: 13.17 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/1.086, allocations: 0.7524 MB / 1.392 GB, free: 12.44 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000227/1.086, allocations: 60.81 kB / 1.392 GB, free: 12.41 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/1.086, allocations: 68.94 kB / 1.392 GB, free: 12.36 MB / 1.092 GB Notification: Performance of SimCode: time 4.91e-07/1.086, allocations: 0 / 1.392 GB, free: 12.36 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/1.111, allocations: 6.926 MB / 1.399 GB, free: 8.902 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/9.269, allocations: 15.06 kB / 1.399 GB, free: 8.891 MB / 1.092 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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