Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_10_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.004422/0.004422, allocations: 101.8 kB / 15.73 MB, free: 6.016 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.00133/0.00133, allocations: 194.2 kB / 16.68 MB, free: 5.934 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 437.1 MB / 0.7106 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 67.88 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2486, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6874/0.9361, allocations: 241.9 MB / 1.402 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.9526, allocations: 13.52 MB / 1.416 GB, free: 452 kB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.9544, allocations: 60.22 kB / 1.416 GB, free: 424 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002234/0.9566, allocations: 0.9812 MB / 1.417 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.9604, allocations: 1.785 MB / 1.418 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.963, allocations: 1.24 MB / 1.42 GB, free: 13.27 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003157/0.9662, allocations: 3.258 MB / 1.423 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.9674, allocations: 1.054 MB / 1.424 GB, free: 10.77 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00798/0.9753, allocations: 4.125 MB / 1.428 GB, free: 8.035 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.9765, allocations: 0.8924 MB / 1.429 GB, free: 7.512 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.9767, allocations: 83.88 kB / 1.429 GB, free: 7.508 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.978, allocations: 0.699 MB / 1.43 GB, free: 7.051 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004528/0.9784, allocations: 450.5 kB / 1.43 GB, free: 6.609 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007296/0.9792, allocations: 0.68 MB / 1.431 GB, free: 5.926 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.981, allocations: 1.525 MB / 1.432 GB, free: 4.395 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.981, allocations: 0 / 1.432 GB, free: 4.395 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.363e-06/0.981, allocations: 0 / 1.432 GB, free: 4.395 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.981, allocations: 0 / 1.432 GB, free: 4.395 MB / 1.092 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.002049/0.9831, allocations: 1.665 MB / 1.434 GB, free: 2.676 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.9831, allocations: 12.03 kB / 1.434 GB, free: 2.664 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.9833, allocations: 126.7 kB / 1.434 GB, free: 2.531 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/0.9839, allocations: 206.9 kB / 1.434 GB, free: 2.328 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.9852, allocations: 0.9139 MB / 1.435 GB, free: 1.359 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.9853, allocations: 129.4 kB / 1.435 GB, free: 1.219 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.265e-05/0.9854, allocations: 84 kB / 1.435 GB, free: 1.137 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.9867, allocations: 0.9181 MB / 1.436 GB, free: 132 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.9867, allocations: 4 kB / 1.436 GB, free: 128 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.9868, allocations: 35.94 kB / 1.436 GB, free: 92 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.9868, allocations: 20 kB / 1.436 GB, free: 72 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008641/0.9877, allocations: 0.5033 MB / 1.437 GB, free: 15.57 MB / 1.107 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.004483/0.9922, allocations: 4.873 MB / 1.441 GB, free: 10.38 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.9928, allocations: 420.6 kB / 1.442 GB, free: 9.844 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.9931, allocations: 263.8 kB / 1.442 GB, free: 9.543 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.9933, allocations: 105.1 kB / 1.442 GB, free: 9.422 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.9934, allocations: 51.36 kB / 1.442 GB, free: 9.363 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.9934, allocations: 0 / 1.442 GB, free: 9.363 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001639/0.995, allocations: 0.789 MB / 1.443 GB, free: 8.527 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001989/0.9952, allocations: 401.4 kB / 1.443 GB, free: 8.043 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.9967, allocations: 1.271 MB / 1.445 GB, free: 6.762 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.9967, allocations: 41.77 kB / 1.445 GB, free: 6.715 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/0.9972, allocations: 0.5538 MB / 1.445 GB, free: 6.156 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/0.9973, allocations: 107.1 kB / 1.445 GB, free: 6.051 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.9974, allocations: 85.64 kB / 1.445 GB, free: 5.961 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9975, allocations: 325.9 kB / 1.446 GB, free: 5.637 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.9977, allocations: 87.94 kB / 1.446 GB, free: 5.551 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.9981, allocations: 334.5 kB / 1.446 GB, free: 5.129 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.9986, allocations: 332.5 kB / 1.446 GB, free: 4.758 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.9986, allocations: 0 / 1.446 GB, free: 4.758 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007984/0.9994, allocations: 0.4944 MB / 1.447 GB, free: 4.25 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.9995, allocations: 8 kB / 1.447 GB, free: 4.242 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.9995, allocations: 4 kB / 1.447 GB, free: 4.238 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.9997, allocations: 73.73 kB / 1.447 GB, free: 4.164 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.9999, allocations: 59.94 kB / 1.447 GB, free: 4.105 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/1.002, allocations: 3.27 MB / 1.45 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/1.003, allocations: 91.41 kB / 1.45 GB, free: 484 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/1.003, allocations: 20 kB / 1.45 GB, free: 464 kB / 1.107 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.0003156/1.003, allocations: 273.8 kB / 1.451 GB, free: 180 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003397/1.004, allocations: 147.1 kB / 1.451 GB, free: 32 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/1.004, allocations: 124 kB / 1.451 GB, free: 15.9 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.004, allocations: 8 kB / 1.451 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.004, allocations: 7.938 kB / 1.451 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.004, allocations: 7.984 kB / 1.451 GB, free: 15.88 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/1.007, allocations: 2.52 MB / 1.453 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/1.007, allocations: 4 kB / 1.453 GB, free: 13.21 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/1.007, allocations: 53.03 kB / 1.453 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/1.007, allocations: 70.17 kB / 1.453 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/1.007, allocations: 12.19 kB / 1.453 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/1.01, allocations: 3.271 MB / 1.457 GB, free: 9.527 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.01, allocations: 7.938 kB / 1.457 GB, free: 9.52 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008311/1.01, allocations: 0.6973 MB / 1.457 GB, free: 8.73 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/1.011, allocations: 256.1 kB / 1.458 GB, free: 8.461 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/1.011, allocations: 15.98 kB / 1.458 GB, free: 8.445 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/1.011, allocations: 39.95 kB / 1.458 GB, free: 8.406 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/1.012, allocations: 39.84 kB / 1.458 GB, free: 8.367 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/1.012, allocations: 19.98 kB / 1.458 GB, free: 8.348 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001115/1.013, allocations: 0.8802 MB / 1.458 GB, free: 7.469 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.013, allocations: 0 / 1.458 GB, free: 7.469 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007876/1.013, allocations: 259.8 kB / 1.459 GB, free: 7.215 MB / 1.123 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.001442/1.015, allocations: 1.33 MB / 1.46 GB, free: 5.793 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008516/1.016, allocations: 0.5205 MB / 1.461 GB, free: 5.246 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.016, allocations: 4 kB / 1.461 GB, free: 5.242 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005222/1.016, allocations: 394.9 kB / 1.461 GB, free: 4.832 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/1.019, allocations: 0.7599 MB / 1.462 GB, free: 4.082 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/1.029, allocations: 8.245 MB / 1.47 GB, free: 11.48 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007356/1.03, allocations: 1.134 MB / 1.471 GB, free: 10.31 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006276/1.031, allocations: 242.5 kB / 1.471 GB, free: 10.07 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/1.031, allocations: 439.3 kB / 1.471 GB, free: 9.641 MB / 1.139 GB Notification: Performance of SimCode: time 2e-07/1.031, allocations: 0 / 1.471 GB, free: 9.641 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.43/6.461, allocations: 34.23 MB / 1.505 GB, free: 7.949 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/21.24, allocations: 6.453 kB / 1.505 GB, free: 7.945 MB / 1.17 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches