Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 102.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 212.9 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 252.8 MB, free: 8.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.209/3.209, allocations: 0.49 GB / 0.7916 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.47 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3198, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2717/0.5915, allocations: 246 MB / 1.561 GB, free: 12.47 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01936/0.6108, allocations: 13.6 MB / 1.574 GB, free: 14.83 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.6131, allocations: 91.12 kB / 1.574 GB, free: 14.74 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002723/0.6158, allocations: 1.013 MB / 1.575 GB, free: 13.72 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.004936/0.6207, allocations: 1.841 MB / 1.577 GB, free: 11.88 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.624, allocations: 1.251 MB / 1.578 GB, free: 10.64 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.004865/0.6289, allocations: 3.243 MB / 1.582 GB, free: 7.379 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.6304, allocations: 0.9066 MB / 1.582 GB, free: 6.441 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/0.6407, allocations: 4.336 MB / 1.587 GB, free: 2.09 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.6424, allocations: 0.9333 MB / 1.588 GB, free: 1.152 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.000193/0.6426, allocations: 76 kB / 1.588 GB, free: 1.078 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.6442, allocations: 0.7402 MB / 1.588 GB, free: 344 kB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.000485/0.6446, allocations: 450.4 kB / 1.589 GB, free: 15.89 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0009194/0.6456, allocations: 0.6839 MB / 1.59 GB, free: 15.21 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.648, allocations: 1.533 MB / 1.591 GB, free: 13.67 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.648, allocations: 4 kB / 1.591 GB, free: 13.66 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.342e-06/0.648, allocations: 0 / 1.591 GB, free: 13.66 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.449e-05/0.648, allocations: 0 / 1.591 GB, free: 13.66 MB / 1.295 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.002515/0.6505, allocations: 1.681 MB / 1.593 GB, free: 11.93 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6506, allocations: 11.98 kB / 1.593 GB, free: 11.92 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.6507, allocations: 130.7 kB / 1.593 GB, free: 11.78 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006632/0.6514, allocations: 210.9 kB / 1.593 GB, free: 11.57 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.653, allocations: 0.9416 MB / 1.594 GB, free: 10.58 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.6531, allocations: 125.4 kB / 1.594 GB, free: 10.44 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.6532, allocations: 84 kB / 1.594 GB, free: 10.36 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.6547, allocations: 0.9181 MB / 1.595 GB, free: 9.355 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.6547, allocations: 7.938 kB / 1.595 GB, free: 9.348 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/0.6547, allocations: 32 kB / 1.595 GB, free: 9.316 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.6548, allocations: 20 kB / 1.595 GB, free: 9.297 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008947/0.6557, allocations: 0.511 MB / 1.596 GB, free: 8.781 MB / 1.295 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.005093/0.6608, allocations: 4.87 MB / 1.6 GB, free: 3.602 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/0.6614, allocations: 408.7 kB / 1.601 GB, free: 3.074 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.6618, allocations: 259.8 kB / 1.601 GB, free: 2.777 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.6619, allocations: 105.1 kB / 1.601 GB, free: 2.656 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.662, allocations: 50.42 kB / 1.601 GB, free: 2.598 MB / 1.295 GB Notification: Performance of pre-optimization done (n=31): time 2.455e-06/0.662, allocations: 4 kB / 1.601 GB, free: 2.594 MB / 1.295 GB Notification: Performance of matching and sorting (n=31): time 0.001928/0.6639, allocations: 0.7946 MB / 1.602 GB, free: 1.75 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002044/0.6641, allocations: 397.5 kB / 1.602 GB, free: 1.27 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5988/1.263, allocations: 1.286 MB / 1.604 GB, free: 285.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/1.263, allocations: 38.02 kB / 1.604 GB, free: 285.5 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/1.264, allocations: 0.5573 MB / 1.604 GB, free: 285.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/1.264, allocations: 112.5 kB / 1.604 GB, free: 285.4 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/1.264, allocations: 84.88 kB / 1.604 GB, free: 285.4 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.367e-05/1.264, allocations: 324.8 kB / 1.605 GB, free: 285.1 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/1.264, allocations: 90.8 kB / 1.605 GB, free: 285.1 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/1.265, allocations: 338.8 kB / 1.605 GB, free: 284.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/1.265, allocations: 326.3 kB / 1.605 GB, free: 284.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.265, allocations: 2.719 kB / 1.605 GB, free: 284.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001073/1.266, allocations: 0.4951 MB / 1.606 GB, free: 284.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.266, allocations: 7.234 kB / 1.606 GB, free: 284.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.266, allocations: 3.938 kB / 1.606 GB, free: 284.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000286/1.266, allocations: 73.67 kB / 1.606 GB, free: 284.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/1.267, allocations: 55.92 kB / 1.606 GB, free: 284.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/1.269, allocations: 3.255 MB / 1.609 GB, free: 281.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007986/1.269, allocations: 100.4 kB / 1.609 GB, free: 281.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/1.269, allocations: 17.09 kB / 1.609 GB, free: 281.5 MB / 1.295 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.0003847/1.27, allocations: 288 kB / 1.61 GB, free: 281.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/1.27, allocations: 151.9 kB / 1.61 GB, free: 281.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/1.27, allocations: 133.4 kB / 1.61 GB, free: 281.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.27, allocations: 6.969 kB / 1.61 GB, free: 281.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.27, allocations: 4.906 kB / 1.61 GB, free: 281.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/1.27, allocations: 9.125 kB / 1.61 GB, free: 281.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/1.273, allocations: 2.52 MB / 1.612 GB, free: 279.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.273, allocations: 5.594 kB / 1.612 GB, free: 279.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/1.273, allocations: 50.86 kB / 1.612 GB, free: 279.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/1.274, allocations: 74.53 kB / 1.612 GB, free: 279.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/1.274, allocations: 12.22 kB / 1.612 GB, free: 279.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/1.275, allocations: 3.264 MB / 1.616 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/1.275, allocations: 10.03 kB / 1.616 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009342/1.276, allocations: 0.6796 MB / 1.616 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003956/1.277, allocations: 253.8 kB / 1.617 GB, free: 275.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.277, allocations: 17.33 kB / 1.617 GB, free: 275.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/1.277, allocations: 50.23 kB / 1.617 GB, free: 275.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/1.278, allocations: 47.05 kB / 1.617 GB, free: 275.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/1.278, allocations: 16.06 kB / 1.617 GB, free: 275.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001312/1.279, allocations: 0.8913 MB / 1.617 GB, free: 275.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.279, allocations: 0 / 1.617 GB, free: 275.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001024/1.28, allocations: 258.3 kB / 1.618 GB, free: 275 MB / 1.295 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.00121/1.281, allocations: 1.311 MB / 1.619 GB, free: 274 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0008741/1.282, allocations: 0.5148 MB / 1.62 GB, free: 273.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.282, allocations: 1.766 kB / 1.62 GB, free: 273.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004535/1.282, allocations: 400.8 kB / 1.62 GB, free: 273.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.286, allocations: 0.7533 MB / 1.621 GB, free: 273.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.299, allocations: 8.315 MB / 1.629 GB, free: 269.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/1.3, allocations: 1.141 MB / 1.63 GB, free: 268.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001026/1.301, allocations: 244.6 kB / 1.63 GB, free: 268.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004234/1.301, allocations: 448.1 kB / 1.631 GB, free: 268.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.142e-06/1.301, allocations: 0 / 1.631 GB, free: 268.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07616/1.377, allocations: 34.53 MB / 1.664 GB, free: 245.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/14.02, allocations: 19.8 kB / 1.664 GB, free: 245.2 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable res11.m_flow in file Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv. Warning: Get data of variable res11.m_flow from file Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv failed! Error: Could not read variable res21.m_flow in file Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv. Warning: Get data of variable res21.m_flow from file Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv failed! Error: Could not read variable res31.dp in file Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv. Warning: Get data of variable res31.dp from file Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv failed! Error: Could not read variable res41.dp in file Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv. Warning: Get data of variable res41.dp from file Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.790369018912315]