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.0007522/0.0007521, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004821/0.004821, allocations: 171 kB / 16.26 MB, free: 6.613 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.163/2.163, allocations: 390.9 MB / 0.6664 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002739, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5103/0.5106, allocations: 142.4 MB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.235/0.7456, allocations: 236.4 MB / 1.186 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.7614, allocations: 13.45 MB / 1.199 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.7626, allocations: 47.62 kB / 1.199 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.7645, allocations: 0.8237 MB / 1.2 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.7681, allocations: 1.688 MB / 1.202 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.7706, allocations: 1.124 MB / 1.203 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004572/0.7751, allocations: 4.596 MB / 1.207 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.7763, allocations: 0.8906 MB / 1.208 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007902/0.7842, allocations: 3.822 MB / 1.212 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.7856, allocations: 0.9372 MB / 1.213 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.7857, allocations: 48 kB / 1.213 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.7873, allocations: 0.8961 MB / 1.214 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003793/0.7877, allocations: 406.6 kB / 1.214 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006771/0.7884, allocations: 0.6738 MB / 1.215 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.7899, allocations: 1.521 MB / 1.216 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7899, allocations: 4 kB / 1.216 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7899, allocations: 0 / 1.216 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.7899, allocations: 0 / 1.216 GB, free: 3.039 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.001842/0.7918, allocations: 1.378 MB / 1.218 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.7918, allocations: 12.03 kB / 1.218 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.792, allocations: 122.7 kB / 1.218 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005772/0.7926, allocations: 198.2 kB / 1.218 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.7936, allocations: 0.8387 MB / 1.219 GB, free: 388 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.7938, allocations: 125.3 kB / 1.219 GB, free: 248 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.644e-05/0.7939, allocations: 91.94 kB / 1.219 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.7952, allocations: 0.9199 MB / 1.22 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.7952, allocations: 11.94 kB / 1.22 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/0.7953, allocations: 32 kB / 1.22 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.7953, allocations: 20 kB / 1.22 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008229/0.7961, allocations: 0.5227 MB / 1.22 GB, free: 14.56 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.004185/0.8003, allocations: 4.888 MB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.8008, allocations: 416.7 kB / 1.226 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.8012, allocations: 276.1 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.8014, allocations: 101 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.8014, allocations: 58.44 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.8014, allocations: 0 / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001632/0.8031, allocations: 0.8054 MB / 1.227 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.8032, allocations: 397.5 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.8046, allocations: 1.271 MB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.8046, allocations: 41.7 kB / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.805, allocations: 0.5494 MB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.8051, allocations: 110.5 kB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.8051, allocations: 29.7 kB / 1.229 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.8052, allocations: 329.8 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.8054, allocations: 91.94 kB / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.8058, allocations: 342.5 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.8062, allocations: 336.6 kB / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8062, allocations: 0 / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007501/0.807, allocations: 0.5052 MB / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.807, allocations: 8 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.807, allocations: 4 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/0.8073, allocations: 69.67 kB / 1.231 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.8075, allocations: 63.94 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.8096, allocations: 2.919 MB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/0.8104, allocations: 111.3 kB / 1.234 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.8104, allocations: 23.98 kB / 1.234 GB, free: 15.76 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.0003284/0.8108, allocations: 277.6 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.8111, allocations: 138.3 kB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.8113, allocations: 128 kB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.8113, allocations: 8 kB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.8113, allocations: 4 kB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.8113, allocations: 4 kB / 1.234 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.8141, allocations: 2.536 MB / 1.237 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.8141, allocations: 4 kB / 1.237 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.8143, allocations: 51.91 kB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.8145, allocations: 73.61 kB / 1.237 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.8145, allocations: 12 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.8165, allocations: 2.927 MB / 1.24 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.8166, allocations: 12.23 kB / 1.24 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.8174, allocations: 0.6848 MB / 1.24 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.8177, allocations: 247.3 kB / 1.241 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.8178, allocations: 15.98 kB / 1.241 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006891/0.8185, allocations: 71.78 kB / 1.241 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.8186, allocations: 43.84 kB / 1.241 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.8186, allocations: 23.92 kB / 1.241 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009615/0.8196, allocations: 0.8724 MB / 1.242 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8196, allocations: 0 / 1.242 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009308/0.8205, allocations: 279.7 kB / 1.242 GB, free: 6.824 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.001316/0.8219, allocations: 1.344 MB / 1.243 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007998/0.8227, allocations: 0.5246 MB / 1.244 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8227, allocations: 0 / 1.244 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.8232, allocations: 411 kB / 1.244 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/0.8274, allocations: 0.7895 MB / 1.245 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3987/1.226, allocations: 9.322 MB / 1.254 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009268/1.227, allocations: 1.133 MB / 1.255 GB, free: 282.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001123/1.228, allocations: 241.8 kB / 1.255 GB, free: 282.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/1.229, allocations: 455.7 kB / 1.256 GB, free: 282 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.229, allocations: 3.75 kB / 1.256 GB, free: 282 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6974/1.926, allocations: 35.61 MB / 1.291 GB, free: 261.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.926, allocations: 296.2 kB / 1.291 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/4.885, allocations: 0 / 1.291 GB, free: 260.8 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