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.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.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.001308/0.001308, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001479/0.001479, allocations: 191.8 kB / 16.25 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.17/2.17, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6829/0.6843, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2595/0.9438, allocations: 239 MB / 1.183 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01923/0.9631, allocations: 13.45 MB / 1.196 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.9653, allocations: 55.56 kB / 1.196 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.9682, allocations: 0.8588 MB / 1.197 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004883/0.9731, allocations: 1.669 MB / 1.198 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.9764, allocations: 1.13 MB / 1.199 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004715/0.9811, allocations: 3.272 MB / 1.203 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.983, allocations: 1.008 MB / 1.204 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009842/0.9928, allocations: 4.021 MB / 1.207 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.9947, allocations: 0.9684 MB / 1.208 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004707/0.9952, allocations: 76 kB / 1.208 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.9973, allocations: 0.7363 MB / 1.209 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008332/0.9982, allocations: 450.6 kB / 1.21 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.9998, allocations: 0.6839 MB / 1.21 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00311/1.003, allocations: 1.577 MB / 1.212 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.003, allocations: 0 / 1.212 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.765e-06/1.003, allocations: 0 / 1.212 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.063e-05/1.003, allocations: 0 / 1.212 GB, free: 4.176 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.003082/1.006, allocations: 1.623 MB / 1.213 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.006, allocations: 8.031 kB / 1.213 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002317/1.006, allocations: 126.7 kB / 1.214 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008212/1.007, allocations: 198.2 kB / 1.214 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/1.009, allocations: 0.8386 MB / 1.215 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/1.009, allocations: 125.4 kB / 1.215 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.009, allocations: 80 kB / 1.215 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/1.011, allocations: 0.9236 MB / 1.216 GB, free: 44 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/1.011, allocations: 4 kB / 1.216 GB, free: 40 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/1.011, allocations: 32 kB / 1.216 GB, free: 8 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/1.011, allocations: 20.05 kB / 1.216 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009167/1.012, allocations: 0.5149 MB / 1.216 GB, free: 15.47 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.005266/1.017, allocations: 4.868 MB / 1.221 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/1.018, allocations: 424.6 kB / 1.221 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/1.018, allocations: 255.9 kB / 1.222 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/1.018, allocations: 109 kB / 1.222 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/1.018, allocations: 50.5 kB / 1.222 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/1.018, allocations: 0 / 1.222 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001843/1.02, allocations: 0.782 MB / 1.223 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/1.02, allocations: 397.5 kB / 1.223 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/1.022, allocations: 1.271 MB / 1.224 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/1.022, allocations: 33.7 kB / 1.224 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004633/1.023, allocations: 0.5497 MB / 1.225 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.975e-05/1.023, allocations: 118.4 kB / 1.225 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/1.023, allocations: 85.55 kB / 1.225 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.023, allocations: 321.9 kB / 1.225 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/1.023, allocations: 95.92 kB / 1.225 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/1.023, allocations: 338.2 kB / 1.226 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/1.024, allocations: 328.5 kB / 1.226 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.024, allocations: 4 kB / 1.226 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009101/1.025, allocations: 489.5 kB / 1.226 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.025, allocations: 8 kB / 1.226 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.025, allocations: 4 kB / 1.226 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003001/1.025, allocations: 73.66 kB / 1.227 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/1.025, allocations: 59.91 kB / 1.227 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/1.028, allocations: 3.266 MB / 1.23 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009032/1.029, allocations: 111.2 kB / 1.23 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/1.029, allocations: 23.98 kB / 1.23 GB, free: 356 kB / 0.9825 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.00055/1.03, allocations: 273.6 kB / 1.23 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005079/1.03, allocations: 138.4 kB / 1.23 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/1.03, allocations: 127.8 kB / 1.23 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/1.03, allocations: 4 kB / 1.23 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.03, allocations: 12 kB / 1.23 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/1.03, allocations: 7.984 kB / 1.23 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003629/1.034, allocations: 2.516 MB / 1.233 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.034, allocations: 12.12 kB / 1.233 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/1.034, allocations: 51.86 kB / 1.233 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/1.034, allocations: 69.8 kB / 1.233 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/1.034, allocations: 15.94 kB / 1.233 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/1.037, allocations: 3.262 MB / 1.236 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/1.037, allocations: 8 kB / 1.236 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/1.038, allocations: 0.6767 MB / 1.237 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/1.038, allocations: 243.4 kB / 1.237 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/1.039, allocations: 12 kB / 1.237 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007398/1.039, allocations: 63.86 kB / 1.237 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/1.039, allocations: 43.84 kB / 1.237 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/1.039, allocations: 16 kB / 1.237 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001167/1.041, allocations: 0.8763 MB / 1.238 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.8e-07/1.041, allocations: 0 / 1.238 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001082/1.042, allocations: 271.7 kB / 1.238 GB, free: 7.121 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.001561/1.043, allocations: 1.332 MB / 1.24 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009696/1.044, allocations: 0.5323 MB / 1.24 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.044, allocations: 0 / 1.24 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005305/1.045, allocations: 402.3 kB / 1.241 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/1.048, allocations: 0.7501 MB / 1.241 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4427/1.491, allocations: 9.28 MB / 1.25 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007294/1.492, allocations: 1.131 MB / 1.251 GB, free: 283.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009922/1.493, allocations: 238.7 kB / 1.252 GB, free: 283.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/1.493, allocations: 442.7 kB / 1.252 GB, free: 283.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.212e-06/1.493, allocations: 3.844 kB / 1.252 GB, free: 283.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.855/4.348, allocations: 33.7 MB / 1.285 GB, free: 266 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/4.348, allocations: 295.1 kB / 1.285 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.764/9.112, allocations: 5.438 kB / 1.285 GB, free: 265.6 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