Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_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.001467/0.001467, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001867/0.001867, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.84 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.6875, allocations: 140.4 MB / 0.949 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2958/0.9834, allocations: 239.7 MB / 1.183 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0209/1.004, allocations: 13.59 MB / 1.196 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002662/1.007, allocations: 55.62 kB / 1.196 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00332/1.01, allocations: 0.8198 MB / 1.197 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005975/1.016, allocations: 1.695 MB / 1.199 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004109/1.021, allocations: 1.114 MB / 1.2 GB, free: 272 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.007831/1.028, allocations: 4.607 MB / 1.204 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/1.03, allocations: 0.8961 MB / 1.205 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01424/1.045, allocations: 3.841 MB / 1.209 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002752/1.047, allocations: 0.9605 MB / 1.21 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0008048/1.048, allocations: 56 kB / 1.21 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004444/1.053, allocations: 0.9078 MB / 1.211 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001405/1.054, allocations: 414.6 kB / 1.211 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002771/1.057, allocations: 0.6604 MB / 1.212 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004022/1.061, allocations: 1.541 MB / 1.214 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.061, allocations: 0 / 1.214 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.833e-06/1.061, allocations: 0 / 1.214 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.081e-05/1.061, allocations: 0 / 1.214 GB, free: 2.324 MB / 0.9669 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.004405/1.066, allocations: 1.62 MB / 1.215 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/1.066, allocations: 8.031 kB / 1.215 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002881/1.066, allocations: 126.7 kB / 1.215 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/1.067, allocations: 194.2 kB / 1.215 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/1.069, allocations: 0.8425 MB / 1.216 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/1.069, allocations: 125.4 kB / 1.216 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/1.069, allocations: 84 kB / 1.216 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/1.071, allocations: 0.9181 MB / 1.217 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/1.071, allocations: 7.938 kB / 1.217 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/1.071, allocations: 32 kB / 1.217 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/1.071, allocations: 20 kB / 1.217 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009143/1.072, allocations: 0.5188 MB / 1.218 GB, free: 13.62 MB / 0.9825 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.005371/1.077, allocations: 4.864 MB / 1.223 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007173/1.078, allocations: 416.7 kB / 1.223 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/1.079, allocations: 268.1 kB / 1.223 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/1.079, allocations: 101 kB / 1.223 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/1.079, allocations: 54.44 kB / 1.223 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 3.356e-06/1.079, allocations: 4 kB / 1.223 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001783/1.081, allocations: 0.7781 MB / 1.224 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002133/1.081, allocations: 401.4 kB / 1.225 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/1.082, allocations: 1.267 MB / 1.226 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/1.082, allocations: 41.7 kB / 1.226 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/1.083, allocations: 0.5456 MB / 1.226 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-05/1.083, allocations: 114.4 kB / 1.227 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/1.083, allocations: 93.53 kB / 1.227 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.083, allocations: 321.9 kB / 1.227 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/1.083, allocations: 87.94 kB / 1.227 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/1.084, allocations: 346.1 kB / 1.227 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/1.084, allocations: 320.6 kB / 1.228 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.084, allocations: 0 / 1.228 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008462/1.085, allocations: 0.4894 MB / 1.228 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.085, allocations: 10.22 kB / 1.228 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.085, allocations: 4 kB / 1.228 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003417/1.086, allocations: 77.73 kB / 1.228 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/1.086, allocations: 55.91 kB / 1.228 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/1.089, allocations: 2.92 MB / 1.231 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.09, allocations: 111.1 kB / 1.231 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/1.09, allocations: 23.98 kB / 1.231 GB, free: 14.84 MB / 0.9981 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.0003782/1.09, allocations: 278.9 kB / 1.232 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003621/1.091, allocations: 138.3 kB / 1.232 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/1.091, allocations: 131.9 kB / 1.232 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.091, allocations: 4 kB / 1.232 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.091, allocations: 8 kB / 1.232 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.091, allocations: 4 kB / 1.232 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/1.094, allocations: 2.516 MB / 1.234 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.094, allocations: 8 kB / 1.234 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/1.094, allocations: 51.91 kB / 1.234 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/1.094, allocations: 65.86 kB / 1.234 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/1.094, allocations: 12 kB / 1.234 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/1.096, allocations: 2.935 MB / 1.237 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.096, allocations: 8 kB / 1.237 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/1.097, allocations: 0.6729 MB / 1.238 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/1.098, allocations: 251.3 kB / 1.238 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/1.098, allocations: 16 kB / 1.238 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.099, allocations: 59.86 kB / 1.238 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/1.099, allocations: 43.78 kB / 1.238 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/1.099, allocations: 16 kB / 1.238 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001146/1.1, allocations: 0.8802 MB / 1.239 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.1, allocations: 0 / 1.239 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00105/1.101, allocations: 275.7 kB / 1.239 GB, free: 5.957 MB / 0.9981 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.001321/1.103, allocations: 1.311 MB / 1.241 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008247/1.104, allocations: 0.5134 MB / 1.241 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.104, allocations: 4.062 kB / 1.241 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004761/1.104, allocations: 398.3 kB / 1.242 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/1.107, allocations: 0.7581 MB / 1.242 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4501/1.558, allocations: 9.281 MB / 1.251 GB, free: 283.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/1.558, allocations: 1.138 MB / 1.252 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009726/1.559, allocations: 242.7 kB / 1.253 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/1.56, allocations: 437.5 kB / 1.253 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.56, allocations: 0 / 1.253 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6231/2.183, allocations: 33.07 MB / 1.285 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/2.183, allocations: 292.7 kB / 1.286 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/4.886, allocations: 0 / 1.286 GB, free: 265.3 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches