Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_11_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.001918/0.001919, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 196.8 kB / 16.53 MB, free: 6.656 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.486/2.486, allocations: 469.8 MB / 0.7424 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 65.73 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2327, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6376/0.8703, allocations: 241.9 MB / 1.3 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.8835, allocations: 13.53 MB / 1.314 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.8849, allocations: 61.81 kB / 1.314 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.8869, allocations: 0.9737 MB / 1.315 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.8902, allocations: 1.783 MB / 1.316 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.8924, allocations: 1.228 MB / 1.317 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002539/0.8949, allocations: 3.257 MB / 1.321 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.896, allocations: 1.055 MB / 1.322 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006747/0.9027, allocations: 4.119 MB / 1.326 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008019/0.9036, allocations: 0.8898 MB / 1.327 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.9037, allocations: 77.38 kB / 1.327 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.9048, allocations: 0.7028 MB / 1.327 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.9051, allocations: 444.9 kB / 1.328 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005229/0.9057, allocations: 0.6804 MB / 1.328 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.9068, allocations: 1.49 MB / 1.33 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.9068, allocations: 0 / 1.33 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9069, allocations: 0 / 1.33 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.9069, allocations: 0 / 1.33 GB, free: 2.969 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.001807/0.9087, allocations: 1.624 MB / 1.331 GB, free: 18.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.9087, allocations: 10.59 kB / 1.331 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.9088, allocations: 127.5 kB / 1.332 GB, free: 18.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005084/0.9093, allocations: 202 kB / 1.332 GB, free: 17.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008891/0.9102, allocations: 0.834 MB / 1.333 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.9104, allocations: 125.5 kB / 1.333 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.73e-05/0.9104, allocations: 88.94 kB / 1.333 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.9115, allocations: 0.9122 MB / 1.334 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.9115, allocations: 5 kB / 1.334 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.589e-05/0.9116, allocations: 38.94 kB / 1.334 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.9116, allocations: 18.88 kB / 1.334 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/0.9123, allocations: 0.5157 MB / 1.334 GB, free: 17.2 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.003595/0.9159, allocations: 4.882 MB / 1.339 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.9163, allocations: 424.9 kB / 1.339 GB, free: 13.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.9165, allocations: 260.2 kB / 1.34 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.9167, allocations: 103.2 kB / 1.34 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.9167, allocations: 55.47 kB / 1.34 GB, free: 13.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.9167, allocations: 0 / 1.34 GB, free: 13.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001393/0.9181, allocations: 0.78 MB / 1.341 GB, free: 12.83 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001845/0.9183, allocations: 406.2 kB / 1.341 GB, free: 12.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.9194, allocations: 1.268 MB / 1.342 GB, free: 12.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.9194, allocations: 37.23 kB / 1.342 GB, free: 12.17 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.9198, allocations: 0.5531 MB / 1.343 GB, free: 12.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.9198, allocations: 104.5 kB / 1.343 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/0.9199, allocations: 85.67 kB / 1.343 GB, free: 11.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.92, allocations: 320.3 kB / 1.343 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.9202, allocations: 92.7 kB / 1.343 GB, free: 11.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.9204, allocations: 338.3 kB / 1.344 GB, free: 11.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.9208, allocations: 321.9 kB / 1.344 GB, free: 11.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.9208, allocations: 1.25 kB / 1.344 GB, free: 11.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006135/0.9214, allocations: 0.4953 MB / 1.344 GB, free: 11.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.9214, allocations: 6 kB / 1.344 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9215, allocations: 4.031 kB / 1.344 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.9217, allocations: 75.95 kB / 1.345 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.9219, allocations: 58.92 kB / 1.345 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.9241, allocations: 3.262 MB / 1.348 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/0.9246, allocations: 94.38 kB / 1.348 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.9247, allocations: 24.78 kB / 1.348 GB, free: 8.074 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.0002715/0.925, allocations: 267.5 kB / 1.348 GB, free: 7.961 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.9253, allocations: 150.8 kB / 1.348 GB, free: 7.879 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.9254, allocations: 124.4 kB / 1.348 GB, free: 7.859 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.9254, allocations: 9.312 kB / 1.348 GB, free: 7.855 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.9254, allocations: 5.344 kB / 1.348 GB, free: 7.855 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.9255, allocations: 7.922 kB / 1.348 GB, free: 7.855 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.928, allocations: 2.522 MB / 1.351 GB, free: 6.355 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.928, allocations: 9.625 kB / 1.351 GB, free: 6.352 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.9281, allocations: 45.64 kB / 1.351 GB, free: 6.352 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001388/0.9283, allocations: 71.42 kB / 1.351 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.9283, allocations: 12.75 kB / 1.351 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.9304, allocations: 3.261 MB / 1.354 GB, free: 3.344 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.9304, allocations: 11.66 kB / 1.354 GB, free: 3.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.9311, allocations: 0.6647 MB / 1.355 GB, free: 2.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.9314, allocations: 247.8 kB / 1.355 GB, free: 2.766 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.9315, allocations: 14.78 kB / 1.355 GB, free: 2.766 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.9321, allocations: 45.19 kB / 1.355 GB, free: 2.758 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.9322, allocations: 43.3 kB / 1.355 GB, free: 2.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.9322, allocations: 24 kB / 1.355 GB, free: 2.746 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007619/0.933, allocations: 0.8794 MB / 1.356 GB, free: 2.637 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.933, allocations: 0 / 1.356 GB, free: 2.637 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007119/0.9337, allocations: 255.7 kB / 1.356 GB, free: 2.621 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.001221/0.9349, allocations: 1.332 MB / 1.358 GB, free: 1.656 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007165/0.9357, allocations: 0.5245 MB / 1.358 GB, free: 1.422 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9357, allocations: 2.734 kB / 1.358 GB, free: 1.422 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.9361, allocations: 407.1 kB / 1.359 GB, free: 1.195 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/0.9389, allocations: 0.7397 MB / 1.359 GB, free: 1.062 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008444/0.9474, allocations: 9.025 MB / 1.368 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.948, allocations: 1.134 MB / 1.369 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000611/0.9486, allocations: 245.5 kB / 1.369 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/0.949, allocations: 436.9 kB / 1.37 GB, free: 12.02 MB / 1.029 GB Notification: Performance of SimCode: time 2.3e-07/0.949, allocations: 0 / 1.37 GB, free: 12.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.86/11.81, allocations: 33.98 MB / 1.403 GB, free: 8.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/22.76, allocations: 10.19 kB / 1.403 GB, free: 8.902 MB / 1.045 GB (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches