Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.001595/0.001595, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001974/0.001974, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 71.91 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8506/0.8521, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.277/1.129, allocations: 239 MB / 1.25 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7036/1.833, allocations: 13.45 MB / 1.263 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/1.835, allocations: 56.06 kB / 1.263 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002399/1.837, allocations: 0.8522 MB / 1.264 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00505/1.843, allocations: 1.674 MB / 1.266 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/1.846, allocations: 1.128 MB / 1.267 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005505/1.851, allocations: 3.271 MB / 1.27 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/1.853, allocations: 1.006 MB / 1.271 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01091/1.864, allocations: 4.025 MB / 1.275 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002183/1.866, allocations: 0.9584 MB / 1.276 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002153/1.867, allocations: 78.12 kB / 1.276 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/1.868, allocations: 0.7397 MB / 1.277 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000584/1.869, allocations: 444.9 kB / 1.277 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009922/1.87, allocations: 0.6826 MB / 1.278 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/1.872, allocations: 1.576 MB / 1.28 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.872, allocations: 1.906 kB / 1.28 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/1.872, allocations: 0 / 1.28 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.123e-05/1.872, allocations: 1.031 kB / 1.28 GB, free: 1.562 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002343/1.875, allocations: 1.627 MB / 1.281 GB, free: 16.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.875, allocations: 9.094 kB / 1.281 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/1.875, allocations: 128.6 kB / 1.281 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006318/1.875, allocations: 193.8 kB / 1.281 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/1.877, allocations: 0.8414 MB / 1.282 GB, free: 16.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/1.877, allocations: 125.2 kB / 1.282 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/1.877, allocations: 84.62 kB / 1.282 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/1.878, allocations: 0.9196 MB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.878, allocations: 12.22 kB / 1.283 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/1.878, allocations: 34.53 kB / 1.283 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/1.878, allocations: 20.56 kB / 1.283 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008215/1.879, allocations: 0.5085 MB / 1.284 GB, free: 15.82 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.004706/1.884, allocations: 4.863 MB / 1.289 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/1.884, allocations: 420 kB / 1.289 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/1.885, allocations: 266.3 kB / 1.289 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/1.885, allocations: 100.5 kB / 1.289 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/1.885, allocations: 61.08 kB / 1.289 GB, free: 11.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/1.885, allocations: 0 / 1.289 GB, free: 11.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001736/1.887, allocations: 0.7795 MB / 1.29 GB, free: 11.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002065/1.887, allocations: 402 kB / 1.291 GB, free: 11.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/1.889, allocations: 1.269 MB / 1.292 GB, free: 10.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/1.889, allocations: 37.77 kB / 1.292 GB, free: 10.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/1.889, allocations: 0.5514 MB / 1.292 GB, free: 10.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/1.889, allocations: 112.8 kB / 1.293 GB, free: 10.67 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/1.889, allocations: 84.11 kB / 1.293 GB, free: 10.65 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.889, allocations: 319.1 kB / 1.293 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/1.89, allocations: 91.69 kB / 1.293 GB, free: 10.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/1.89, allocations: 339.2 kB / 1.293 GB, free: 10.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/1.89, allocations: 331.2 kB / 1.294 GB, free: 9.977 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.89, allocations: 0.9062 kB / 1.294 GB, free: 9.977 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007389/1.891, allocations: 0.49 MB / 1.294 GB, free: 9.855 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.891, allocations: 5.344 kB / 1.294 GB, free: 9.855 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.891, allocations: 6.438 kB / 1.294 GB, free: 9.855 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/1.891, allocations: 68.86 kB / 1.294 GB, free: 9.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/1.892, allocations: 61.84 kB / 1.294 GB, free: 9.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/1.894, allocations: 3.273 MB / 1.297 GB, free: 6.852 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/1.895, allocations: 105.9 kB / 1.298 GB, free: 6.812 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/1.895, allocations: 20.38 kB / 1.298 GB, free: 6.812 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000357/1.895, allocations: 276 kB / 1.298 GB, free: 6.695 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/1.896, allocations: 139.1 kB / 1.298 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/1.896, allocations: 127.6 kB / 1.298 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.896, allocations: 7.719 kB / 1.298 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.896, allocations: 3.75 kB / 1.298 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/1.896, allocations: 6.219 kB / 1.298 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/1.899, allocations: 2.522 MB / 1.301 GB, free: 5.109 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.899, allocations: 4 kB / 1.301 GB, free: 5.109 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/1.899, allocations: 56.19 kB / 1.301 GB, free: 5.109 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001711/1.899, allocations: 69.64 kB / 1.301 GB, free: 5.094 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/1.899, allocations: 13.78 kB / 1.301 GB, free: 5.094 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/1.901, allocations: 3.266 MB / 1.304 GB, free: 2.109 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.902, allocations: 8.625 kB / 1.304 GB, free: 2.109 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008341/1.902, allocations: 0.6735 MB / 1.305 GB, free: 1.707 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/1.903, allocations: 243.4 kB / 1.305 GB, free: 1.543 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.903, allocations: 15.19 kB / 1.305 GB, free: 1.543 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006957/1.904, allocations: 58.38 kB / 1.305 GB, free: 1.539 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/1.904, allocations: 45.23 kB / 1.305 GB, free: 1.535 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/1.904, allocations: 24.36 kB / 1.305 GB, free: 1.531 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009618/1.905, allocations: 0.8738 MB / 1.306 GB, free: 1.422 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.905, allocations: 0.8438 kB / 1.306 GB, free: 1.422 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001084/1.906, allocations: 275.8 kB / 1.306 GB, free: 1.406 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001526/1.907, allocations: 1.323 MB / 1.307 GB, free: 480 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001079/1.908, allocations: 0.5267 MB / 1.308 GB, free: 240 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.908, allocations: 0.7812 kB / 1.308 GB, free: 240 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004815/1.909, allocations: 399.8 kB / 1.308 GB, free: 16 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/1.912, allocations: 0.7623 MB / 1.309 GB, free: 15.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/1.923, allocations: 9.289 MB / 1.318 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/1.924, allocations: 1.132 MB / 1.319 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009651/1.925, allocations: 238 kB / 1.319 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/1.926, allocations: 441.2 kB / 1.32 GB, free: 11.03 MB / 1.029 GB Notification: Performance of SimCode: time 8.21e-07/1.926, allocations: 10.47 kB / 1.32 GB, free: 11.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/2.029, allocations: 33.7 MB / 1.353 GB, free: 2.688 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/2.029, allocations: 292.9 kB / 1.353 GB, free: 2.309 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/4.827, allocations: 3.438 kB / 1.353 GB, free: 2.309 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches