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.001552/0.001552, allocations: 108 kB / 15.61 MB, free: 152 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.001999/0.001999, allocations: 197 kB / 16.53 MB, free: 6.664 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.398/2.398, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 59.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6047/0.6061, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2567/0.8629, allocations: 241.9 MB / 1.186 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.8802, allocations: 13.53 MB / 1.199 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.8819, allocations: 59.56 kB / 1.199 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/0.8844, allocations: 0.9821 MB / 1.2 GB, free: 480 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004433/0.8889, allocations: 1.776 MB / 1.202 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.892, allocations: 1.223 MB / 1.203 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004217/0.8962, allocations: 3.258 MB / 1.206 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.8979, allocations: 1.055 MB / 1.207 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009142/0.9071, allocations: 4.109 MB / 1.211 GB, free: 5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.9093, allocations: 0.8905 MB / 1.212 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004053/0.9097, allocations: 80 kB / 1.212 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.9116, allocations: 0.7014 MB / 1.213 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005815/0.9122, allocations: 438.5 kB / 1.213 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.9136, allocations: 0.6839 MB / 1.214 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.9158, allocations: 1.487 MB / 1.216 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9159, allocations: 0 / 1.216 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9159, allocations: 3.938 kB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.725e-05/0.916, allocations: 3.984 kB / 1.216 GB, free: 0.7109 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.002618/0.9186, allocations: 1.631 MB / 1.217 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.9186, allocations: 8.031 kB / 1.217 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/0.9188, allocations: 122.7 kB / 1.217 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007567/0.9196, allocations: 206.2 kB / 1.217 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.9212, allocations: 0.8386 MB / 1.218 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.9214, allocations: 121.4 kB / 1.218 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.9215, allocations: 91.98 kB / 1.218 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.923, allocations: 0.9142 MB / 1.219 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.923, allocations: 3.938 kB / 1.219 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.586e-05/0.9231, allocations: 36 kB / 1.219 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.9231, allocations: 24 kB / 1.219 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009162/0.9241, allocations: 0.511 MB / 1.22 GB, free: 11.99 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.005015/0.9291, allocations: 4.876 MB / 1.225 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.9296, allocations: 416.6 kB / 1.225 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.93, allocations: 267.8 kB / 1.225 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.9302, allocations: 97.09 kB / 1.225 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.9303, allocations: 58.48 kB / 1.225 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 3.998e-06/0.9303, allocations: 0 / 1.225 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001845/0.9321, allocations: 0.7818 MB / 1.226 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001882/0.9323, allocations: 405.9 kB / 1.227 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.934, allocations: 1.267 MB / 1.228 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/0.9341, allocations: 37.7 kB / 1.228 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.9346, allocations: 0.5495 MB / 1.228 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.294e-05/0.9347, allocations: 114.3 kB / 1.229 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.9348, allocations: 85.59 kB / 1.229 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.9349, allocations: 325.9 kB / 1.229 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.9351, allocations: 87.94 kB / 1.229 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.9355, allocations: 334.3 kB / 1.229 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.936, allocations: 332.5 kB / 1.23 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.936, allocations: 4 kB / 1.23 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009011/0.9369, allocations: 497.2 kB / 1.23 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.937, allocations: 10.03 kB / 1.23 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.937, allocations: 4.344 kB / 1.23 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002994/0.9373, allocations: 77.61 kB / 1.23 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.9375, allocations: 55.91 kB / 1.23 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.94, allocations: 3.262 MB / 1.233 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.9408, allocations: 91.17 kB / 1.234 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.9409, allocations: 23.98 kB / 1.234 GB, free: 12.88 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.0003819/0.9413, allocations: 273.6 kB / 1.234 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/0.9417, allocations: 138.4 kB / 1.234 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.9419, allocations: 135.9 kB / 1.234 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.9419, allocations: 8 kB / 1.234 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.9419, allocations: 4 kB / 1.234 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.942, allocations: 7.938 kB / 1.234 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/0.9451, allocations: 2.516 MB / 1.237 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.9451, allocations: 4 kB / 1.237 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.9453, allocations: 47.91 kB / 1.237 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.9455, allocations: 74.08 kB / 1.237 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.9455, allocations: 15.94 kB / 1.237 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.9478, allocations: 3.262 MB / 1.24 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.9479, allocations: 4 kB / 1.24 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008694/0.9487, allocations: 0.6729 MB / 1.241 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.9492, allocations: 251.4 kB / 1.241 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.9495, allocations: 20.17 kB / 1.241 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007272/0.9502, allocations: 35.95 kB / 1.241 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.9503, allocations: 43.78 kB / 1.241 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.9503, allocations: 23.98 kB / 1.241 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001238/0.9516, allocations: 0.8763 MB / 1.242 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9516, allocations: 0 / 1.242 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001094/0.9527, allocations: 259.7 kB / 1.242 GB, free: 3.676 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.001664/0.9544, allocations: 1.312 MB / 1.243 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009794/0.9554, allocations: 0.5243 MB / 1.244 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.9554, allocations: 4 kB / 1.244 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000543/0.9559, allocations: 402.9 kB / 1.244 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/0.9595, allocations: 0.7605 MB / 1.245 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4937/1.453, allocations: 8.994 MB / 1.254 GB, free: 284.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009381/1.454, allocations: 1.137 MB / 1.255 GB, free: 283.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001082/1.455, allocations: 242.2 kB / 1.255 GB, free: 283.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/1.456, allocations: 441.6 kB / 1.255 GB, free: 283 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.456, allocations: 2 kB / 1.255 GB, free: 283 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/1.557, allocations: 33.97 MB / 1.289 GB, free: 263.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/15.52, allocations: 18.67 kB / 1.289 GB, free: 263.7 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