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.008428/0.008428, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001741/0.001741, allocations: 189.6 kB / 16.67 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.433/2.433, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8248/0.8263, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2521/1.078, allocations: 241.9 MB / 1.402 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0195/1.098, allocations: 13.52 MB / 1.416 GB, free: 3.426 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/1.1, allocations: 59.62 kB / 1.416 GB, free: 3.367 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002839/1.103, allocations: 1.017 MB / 1.417 GB, free: 2.344 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005281/1.108, allocations: 1.854 MB / 1.418 GB, free: 496 kB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00369/1.112, allocations: 1.241 MB / 1.42 GB, free: 15.25 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004559/1.117, allocations: 3.269 MB / 1.423 GB, free: 11.98 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/1.119, allocations: 1.055 MB / 1.424 GB, free: 10.89 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00989/1.128, allocations: 4.258 MB / 1.428 GB, free: 6.621 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/1.13, allocations: 0.8944 MB / 1.429 GB, free: 5.723 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004957/1.131, allocations: 80 kB / 1.429 GB, free: 5.645 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/1.133, allocations: 0.6975 MB / 1.43 GB, free: 4.945 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006368/1.134, allocations: 442.5 kB / 1.43 GB, free: 4.512 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001344/1.135, allocations: 0.6878 MB / 1.431 GB, free: 3.82 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003065/1.138, allocations: 1.521 MB / 1.432 GB, free: 2.293 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.138, allocations: 0 / 1.432 GB, free: 2.293 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.074e-06/1.138, allocations: 0 / 1.432 GB, free: 2.293 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.569e-05/1.138, allocations: 4 kB / 1.432 GB, free: 2.289 MB / 1.154 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.002847/1.141, allocations: 1.661 MB / 1.434 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.141, allocations: 8.625 kB / 1.434 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/1.141, allocations: 130.7 kB / 1.434 GB, free: 440 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007791/1.142, allocations: 210.9 kB / 1.434 GB, free: 228 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/1.144, allocations: 0.91 MB / 1.435 GB, free: 15.26 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/1.144, allocations: 125.4 kB / 1.435 GB, free: 15.12 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/1.145, allocations: 84 kB / 1.435 GB, free: 15.04 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/1.146, allocations: 0.9181 MB / 1.436 GB, free: 14.03 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/1.146, allocations: 0 / 1.436 GB, free: 14.03 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-05/1.146, allocations: 32 kB / 1.436 GB, free: 14 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/1.146, allocations: 28 kB / 1.436 GB, free: 13.97 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008937/1.147, allocations: 0.5071 MB / 1.437 GB, free: 13.46 MB / 1.17 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.005074/1.152, allocations: 4.881 MB / 1.442 GB, free: 8.273 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005344/1.153, allocations: 420.6 kB / 1.442 GB, free: 7.734 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/1.153, allocations: 260 kB / 1.442 GB, free: 7.438 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/1.153, allocations: 109.1 kB / 1.442 GB, free: 7.312 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/1.153, allocations: 54.27 kB / 1.442 GB, free: 7.25 MB / 1.17 GB Notification: Performance of pre-optimization done (n=31): time 1.744e-06/1.153, allocations: 0 / 1.442 GB, free: 7.25 MB / 1.17 GB Notification: Performance of matching and sorting (n=31): time 0.001908/1.155, allocations: 0.7826 MB / 1.443 GB, free: 6.418 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/1.155, allocations: 401.7 kB / 1.444 GB, free: 5.934 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/1.157, allocations: 1.275 MB / 1.445 GB, free: 4.648 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.818e-05/1.157, allocations: 37.7 kB / 1.445 GB, free: 4.605 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/1.158, allocations: 0.5499 MB / 1.445 GB, free: 4.051 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/1.158, allocations: 111.1 kB / 1.445 GB, free: 3.941 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/1.158, allocations: 85.64 kB / 1.446 GB, free: 3.852 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.158, allocations: 325.9 kB / 1.446 GB, free: 3.527 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/1.158, allocations: 91.94 kB / 1.446 GB, free: 3.438 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/1.159, allocations: 336 kB / 1.446 GB, free: 3.016 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/1.159, allocations: 324.5 kB / 1.447 GB, free: 2.652 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.159, allocations: 4 kB / 1.447 GB, free: 2.648 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00102/1.16, allocations: 0.4941 MB / 1.447 GB, free: 2.141 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.16, allocations: 8 kB / 1.447 GB, free: 2.133 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.16, allocations: 4.344 kB / 1.447 GB, free: 2.129 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002902/1.16, allocations: 69.67 kB / 1.447 GB, free: 2.055 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/1.161, allocations: 60 kB / 1.447 GB, free: 1.996 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/1.163, allocations: 3.274 MB / 1.45 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008539/1.164, allocations: 91.47 kB / 1.45 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/1.164, allocations: 20 kB / 1.45 GB, free: 14.34 MB / 1.186 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.0004045/1.165, allocations: 270.5 kB / 1.451 GB, free: 14.06 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/1.165, allocations: 151.1 kB / 1.451 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/1.165, allocations: 120 kB / 1.451 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.165, allocations: 11.94 kB / 1.451 GB, free: 13.78 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.165, allocations: 11.98 kB / 1.451 GB, free: 13.77 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/1.165, allocations: 8 kB / 1.451 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/1.169, allocations: 2.516 MB / 1.453 GB, free: 11.1 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/1.169, allocations: 8.125 kB / 1.453 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/1.169, allocations: 51.91 kB / 1.454 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/1.169, allocations: 65.67 kB / 1.454 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/1.169, allocations: 12 kB / 1.454 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/1.171, allocations: 3.27 MB / 1.457 GB, free: 7.406 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.171, allocations: 4 kB / 1.457 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009443/1.172, allocations: 0.7053 MB / 1.457 GB, free: 6.605 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/1.173, allocations: 248.1 kB / 1.458 GB, free: 6.344 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/1.173, allocations: 19.97 kB / 1.458 GB, free: 6.324 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000732/1.174, allocations: 39.95 kB / 1.458 GB, free: 6.285 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/1.174, allocations: 39.84 kB / 1.458 GB, free: 6.246 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/1.174, allocations: 27.98 kB / 1.458 GB, free: 6.219 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001184/1.175, allocations: 0.8724 MB / 1.459 GB, free: 5.348 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.6e-07/1.175, allocations: 0 / 1.459 GB, free: 5.348 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00104/1.176, allocations: 259.8 kB / 1.459 GB, free: 5.094 MB / 1.186 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.001441/1.178, allocations: 1.33 MB / 1.46 GB, free: 3.672 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000934/1.179, allocations: 0.5242 MB / 1.461 GB, free: 3.121 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.179, allocations: 0 / 1.461 GB, free: 3.121 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005087/1.179, allocations: 410.1 kB / 1.461 GB, free: 2.695 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/1.183, allocations: 0.7375 MB / 1.462 GB, free: 1.965 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/1.193, allocations: 8.244 MB / 1.47 GB, free: 9.367 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/1.194, allocations: 1.134 MB / 1.471 GB, free: 8.203 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008284/1.195, allocations: 246.5 kB / 1.471 GB, free: 7.957 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/1.196, allocations: 447.3 kB / 1.472 GB, free: 7.52 MB / 1.201 GB Notification: Performance of SimCode: time 1.413e-06/1.196, allocations: 0 / 1.472 GB, free: 7.52 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06887/1.264, allocations: 34.24 MB / 1.505 GB, free: 5.715 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.78, allocations: 3.75 kB / 1.505 GB, free: 5.711 MB / 1.232 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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