Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_latest_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.007639/0.007639, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001825/0.001825, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.533/2.533, allocations: 469.4 MB / 0.7422 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.89 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7403/0.7417, allocations: 159.1 MB / 1.22 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2265/0.9682, allocations: 241.9 MB / 1.456 GB, free: 15.51 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01723/0.9855, allocations: 13.52 MB / 1.469 GB, free: 1.949 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.9873, allocations: 63.62 kB / 1.469 GB, free: 1.887 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002771/0.9901, allocations: 1.002 MB / 1.47 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004625/0.9948, allocations: 1.866 MB / 1.472 GB, free: 15 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003122/0.9979, allocations: 1.241 MB / 1.473 GB, free: 13.78 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004354/1.002, allocations: 3.274 MB / 1.476 GB, free: 10.49 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/1.004, allocations: 1.059 MB / 1.478 GB, free: 9.406 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008865/1.013, allocations: 4.258 MB / 1.482 GB, free: 5.133 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/1.014, allocations: 0.8904 MB / 1.483 GB, free: 4.238 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/1.014, allocations: 80 kB / 1.483 GB, free: 4.16 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/1.016, allocations: 0.7014 MB / 1.483 GB, free: 3.457 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004047/1.016, allocations: 442.5 kB / 1.484 GB, free: 3.023 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007428/1.017, allocations: 0.6839 MB / 1.484 GB, free: 2.336 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/1.019, allocations: 1.525 MB / 1.486 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/1.019, allocations: 0 / 1.486 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.593e-06/1.019, allocations: 0 / 1.486 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.331e-05/1.019, allocations: 0 / 1.486 GB, free: 0.8047 MB / 1.201 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.00222/1.021, allocations: 1.665 MB / 1.487 GB, free: 15.09 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/1.021, allocations: 16.61 kB / 1.488 GB, free: 15.07 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/1.021, allocations: 126.7 kB / 1.488 GB, free: 14.94 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007002/1.022, allocations: 203 kB / 1.488 GB, free: 14.74 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/1.024, allocations: 0.9217 MB / 1.489 GB, free: 13.76 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/1.024, allocations: 117.4 kB / 1.489 GB, free: 13.63 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/1.024, allocations: 88 kB / 1.489 GB, free: 13.55 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/1.025, allocations: 0.9181 MB / 1.49 GB, free: 12.54 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/1.026, allocations: 7.938 kB / 1.49 GB, free: 12.54 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/1.026, allocations: 32 kB / 1.49 GB, free: 12.5 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/1.026, allocations: 23.98 kB / 1.49 GB, free: 12.48 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/1.026, allocations: 0.5033 MB / 1.49 GB, free: 11.97 MB / 1.217 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.004383/1.031, allocations: 4.87 MB / 1.495 GB, free: 6.797 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/1.031, allocations: 420.6 kB / 1.496 GB, free: 6.258 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/1.032, allocations: 264 kB / 1.496 GB, free: 5.957 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/1.032, allocations: 109 kB / 1.496 GB, free: 5.832 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/1.032, allocations: 54.48 kB / 1.496 GB, free: 5.77 MB / 1.217 GB Notification: Performance of pre-optimization done (n=31): time 1.893e-06/1.032, allocations: 0 / 1.496 GB, free: 5.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=31): time 0.001768/1.034, allocations: 0.7868 MB / 1.497 GB, free: 4.934 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/1.034, allocations: 401.5 kB / 1.497 GB, free: 4.449 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/1.035, allocations: 1.271 MB / 1.498 GB, free: 3.168 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/1.036, allocations: 37.7 kB / 1.498 GB, free: 3.125 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/1.036, allocations: 0.5499 MB / 1.499 GB, free: 2.57 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/1.036, allocations: 111.1 kB / 1.499 GB, free: 2.461 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/1.036, allocations: 85.64 kB / 1.499 GB, free: 2.371 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.036, allocations: 321.9 kB / 1.499 GB, free: 2.051 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/1.036, allocations: 91.92 kB / 1.499 GB, free: 1.961 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/1.037, allocations: 336 kB / 1.5 GB, free: 1.539 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/1.037, allocations: 332.5 kB / 1.5 GB, free: 1.168 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/1.037, allocations: 8 kB / 1.5 GB, free: 1.16 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008147/1.038, allocations: 0.4905 MB / 1.501 GB, free: 0.6562 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.038, allocations: 8 kB / 1.501 GB, free: 0.6484 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.038, allocations: 4 kB / 1.501 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/1.039, allocations: 69.67 kB / 1.501 GB, free: 0.5703 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/1.039, allocations: 55.91 kB / 1.501 GB, free: 0.5156 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/1.041, allocations: 3.278 MB / 1.504 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007829/1.042, allocations: 91.45 kB / 1.504 GB, free: 12.87 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/1.042, allocations: 27.92 kB / 1.504 GB, free: 12.84 MB / 1.232 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.0003938/1.042, allocations: 273.2 kB / 1.504 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003803/1.043, allocations: 147.2 kB / 1.504 GB, free: 12.42 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/1.043, allocations: 128 kB / 1.505 GB, free: 12.29 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.043, allocations: 11.94 kB / 1.505 GB, free: 12.28 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.043, allocations: 4 kB / 1.505 GB, free: 12.28 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/1.043, allocations: 4.141 kB / 1.505 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/1.046, allocations: 2.524 MB / 1.507 GB, free: 9.605 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/1.046, allocations: 4 kB / 1.507 GB, free: 9.602 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/1.046, allocations: 51.91 kB / 1.507 GB, free: 9.551 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/1.046, allocations: 74.11 kB / 1.507 GB, free: 9.473 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/1.046, allocations: 12 kB / 1.507 GB, free: 9.461 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/1.049, allocations: 3.262 MB / 1.51 GB, free: 5.922 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.049, allocations: 4 kB / 1.51 GB, free: 5.918 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008244/1.049, allocations: 0.6853 MB / 1.511 GB, free: 5.141 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/1.05, allocations: 256.1 kB / 1.511 GB, free: 4.871 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/1.05, allocations: 12 kB / 1.511 GB, free: 4.859 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000668/1.051, allocations: 43.95 kB / 1.511 GB, free: 4.816 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/1.051, allocations: 39.83 kB / 1.511 GB, free: 4.777 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/1.051, allocations: 20 kB / 1.511 GB, free: 4.758 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001046/1.052, allocations: 0.8763 MB / 1.512 GB, free: 3.883 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.8e-07/1.052, allocations: 7.938 kB / 1.512 GB, free: 3.875 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009222/1.053, allocations: 255.8 kB / 1.513 GB, free: 3.625 MB / 1.232 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.054, allocations: 1.351 MB / 1.514 GB, free: 2.188 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009335/1.055, allocations: 0.5207 MB / 1.514 GB, free: 1.641 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.055, allocations: 4 kB / 1.514 GB, free: 1.637 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005155/1.056, allocations: 398.6 kB / 1.515 GB, free: 1.223 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/1.059, allocations: 0.7422 MB / 1.515 GB, free: 500 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009641/1.069, allocations: 8.246 MB / 1.524 GB, free: 7.887 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/1.069, allocations: 1.134 MB / 1.525 GB, free: 6.723 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007127/1.07, allocations: 242.5 kB / 1.525 GB, free: 6.48 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/1.07, allocations: 443.3 kB / 1.525 GB, free: 6.047 MB / 1.248 GB Notification: Performance of SimCode: time 7.01e-07/1.07, allocations: 0 / 1.525 GB, free: 6.047 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06323/1.134, allocations: 34.24 MB / 1.559 GB, free: 4.355 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.99, allocations: 12.61 kB / 1.559 GB, free: 4.344 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches