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.00176/0.00176, allocations: 112.5 kB / 15.73 MB, free: 76 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.002164/0.002164, allocations: 192.2 kB / 16.67 MB, free: 6.57 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.447/2.447, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 58.47 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2357, allocations: 140.4 MB / 1.087 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8284/1.064, allocations: 241.9 MB / 1.324 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01614/1.08, allocations: 13.54 MB / 1.337 GB, free: 2.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/1.083, allocations: 60.09 kB / 1.337 GB, free: 2.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002498/1.085, allocations: 1.007 MB / 1.338 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004852/1.09, allocations: 1.859 MB / 1.34 GB, free: 2.176 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003233/1.094, allocations: 1.25 MB / 1.341 GB, free: 2.141 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004687/1.098, allocations: 3.262 MB / 1.344 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/1.1, allocations: 1.064 MB / 1.345 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008841/1.109, allocations: 4.254 MB / 1.349 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/1.11, allocations: 0.8928 MB / 1.35 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/1.11, allocations: 79.47 kB / 1.35 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/1.112, allocations: 0.7046 MB / 1.351 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003427/1.112, allocations: 448 kB / 1.351 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008103/1.113, allocations: 0.6836 MB / 1.352 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/1.115, allocations: 1.519 MB / 1.354 GB, free: 468 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/1.115, allocations: 0 / 1.354 GB, free: 468 kB / 1.014 GB Notification: Performance of FrontEnd: time 9.52e-07/1.115, allocations: 2.094 kB / 1.354 GB, free: 468 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.873e-05/1.115, allocations: 0 / 1.354 GB, free: 468 kB / 1.014 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.002152/1.117, allocations: 1.665 MB / 1.355 GB, free: 15.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/1.117, allocations: 9.375 kB / 1.355 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/1.117, allocations: 127.7 kB / 1.355 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006718/1.118, allocations: 210.9 kB / 1.356 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/1.12, allocations: 0.9081 MB / 1.356 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/1.12, allocations: 132 kB / 1.357 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/1.12, allocations: 82.09 kB / 1.357 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/1.121, allocations: 0.9175 MB / 1.358 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/1.121, allocations: 5.531 kB / 1.358 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/1.121, allocations: 32.09 kB / 1.358 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/1.121, allocations: 21.97 kB / 1.358 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008143/1.122, allocations: 0.508 MB / 1.358 GB, free: 13.86 MB / 1.029 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.004276/1.127, allocations: 4.878 MB / 1.363 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/1.127, allocations: 410.7 kB / 1.363 GB, free: 9.566 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/1.127, allocations: 269.2 kB / 1.364 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/1.128, allocations: 100.4 kB / 1.364 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/1.128, allocations: 50.97 kB / 1.364 GB, free: 9.258 MB / 1.029 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/1.128, allocations: 0 / 1.364 GB, free: 9.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=31): time 0.001698/1.129, allocations: 0.7898 MB / 1.364 GB, free: 8.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.129, allocations: 404.3 kB / 1.365 GB, free: 8.363 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/1.131, allocations: 1.277 MB / 1.366 GB, free: 7.891 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/1.131, allocations: 39.55 kB / 1.366 GB, free: 7.852 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/1.131, allocations: 0.5497 MB / 1.367 GB, free: 7.414 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/1.131, allocations: 111.8 kB / 1.367 GB, free: 7.328 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.131, allocations: 86.72 kB / 1.367 GB, free: 7.285 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.284e-05/1.132, allocations: 315 kB / 1.367 GB, free: 6.977 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/1.132, allocations: 95.33 kB / 1.367 GB, free: 6.949 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/1.132, allocations: 330.5 kB / 1.368 GB, free: 6.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/1.133, allocations: 328.4 kB / 1.368 GB, free: 6.461 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.133, allocations: 5.75 kB / 1.368 GB, free: 6.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007929/1.133, allocations: 0.4983 MB / 1.368 GB, free: 6.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.133, allocations: 5.906 kB / 1.368 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/1.133, allocations: 4.312 kB / 1.368 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/1.134, allocations: 78.22 kB / 1.368 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/1.134, allocations: 54.53 kB / 1.368 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/1.136, allocations: 3.258 MB / 1.372 GB, free: 3.031 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008242/1.137, allocations: 95.47 kB / 1.372 GB, free: 2.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/1.137, allocations: 20.28 kB / 1.372 GB, free: 2.98 MB / 1.029 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.0003659/1.137, allocations: 280.3 kB / 1.372 GB, free: 2.797 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003919/1.138, allocations: 145.3 kB / 1.372 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/1.138, allocations: 126 kB / 1.372 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.138, allocations: 8.656 kB / 1.372 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/1.138, allocations: 4.781 kB / 1.372 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.138, allocations: 4.641 kB / 1.372 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/1.141, allocations: 2.522 MB / 1.375 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.141, allocations: 5.125 kB / 1.375 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/1.141, allocations: 57.97 kB / 1.375 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001822/1.141, allocations: 68.81 kB / 1.375 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/1.141, allocations: 12.59 kB / 1.375 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/1.144, allocations: 3.26 MB / 1.378 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.144, allocations: 7.625 kB / 1.378 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009979/1.145, allocations: 0.6873 MB / 1.379 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/1.145, allocations: 252.2 kB / 1.379 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/1.145, allocations: 13.64 kB / 1.379 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006761/1.146, allocations: 45.27 kB / 1.379 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/1.146, allocations: 43.78 kB / 1.379 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/1.146, allocations: 19.81 kB / 1.379 GB, free: 12.88 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001079/1.147, allocations: 0.8765 MB / 1.38 GB, free: 12.55 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.147, allocations: 0 / 1.38 GB, free: 12.55 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009491/1.148, allocations: 258.5 kB / 1.38 GB, free: 12.52 MB / 1.045 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.001345/1.149, allocations: 1.352 MB / 1.382 GB, free: 11.45 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009128/1.15, allocations: 0.5152 MB / 1.382 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.15, allocations: 4.875 kB / 1.382 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004804/1.151, allocations: 408.7 kB / 1.382 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/1.154, allocations: 0.7438 MB / 1.383 GB, free: 10.65 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009905/1.164, allocations: 8.241 MB / 1.391 GB, free: 6.605 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006008/1.165, allocations: 1.129 MB / 1.392 GB, free: 5.867 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0008556/1.166, allocations: 243.2 kB / 1.393 GB, free: 5.816 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/1.166, allocations: 445.6 kB / 1.393 GB, free: 5.484 MB / 1.045 GB Notification: Performance of SimCode: time 7.02e-07/1.166, allocations: 2.281 kB / 1.393 GB, free: 5.484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06262/1.229, allocations: 34.23 MB / 1.426 GB, free: 11.88 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/13.02, allocations: 8.875 kB / 1.426 GB, free: 11.88 MB / 1.076 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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