Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001754/0.001754, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002189/0.002189, allocations: 219 kB / 22.26 MB, free: 5.125 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.698/2.698, allocations: 476.8 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_11_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.003034/0.003034, allocations: 72.02 kB / 1.117 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3462, allocations: 169.9 MB / 1.283 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2803/0.6265, allocations: 246.6 MB / 1.524 GB, free: 12.26 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02051/0.647, allocations: 13.68 MB / 1.538 GB, free: 14.54 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.649, allocations: 87.19 kB / 1.538 GB, free: 14.45 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002909/0.6519, allocations: 1.017 MB / 1.539 GB, free: 13.43 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005017/0.6569, allocations: 1.874 MB / 1.541 GB, free: 11.55 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.6603, allocations: 1.3 MB / 1.542 GB, free: 10.26 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005298/0.6656, allocations: 3.319 MB / 1.545 GB, free: 6.938 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.6672, allocations: 0.8174 MB / 1.546 GB, free: 6.098 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01038/0.6776, allocations: 4.347 MB / 1.55 GB, free: 1.734 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.6795, allocations: 0.9644 MB / 1.551 GB, free: 0.7656 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002433/0.6798, allocations: 76 kB / 1.551 GB, free: 0.6914 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.6815, allocations: 0.7559 MB / 1.552 GB, free: 15.93 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005003/0.682, allocations: 450.5 kB / 1.552 GB, free: 15.49 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0009177/0.683, allocations: 0.68 MB / 1.553 GB, free: 14.81 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.6855, allocations: 1.533 MB / 1.554 GB, free: 13.27 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6855, allocations: 0 / 1.554 GB, free: 13.27 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6855, allocations: 0 / 1.554 GB, free: 13.27 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.766e-05/0.6855, allocations: 0 / 1.554 GB, free: 13.27 MB / 1.264 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.002625/0.6882, allocations: 1.59 MB / 1.556 GB, free: 11.64 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.6882, allocations: 12.03 kB / 1.556 GB, free: 11.63 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.6884, allocations: 122.7 kB / 1.556 GB, free: 11.5 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007109/0.6891, allocations: 222.8 kB / 1.556 GB, free: 11.29 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.6906, allocations: 0.8263 MB / 1.557 GB, free: 10.41 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.6908, allocations: 172.8 kB / 1.557 GB, free: 10.21 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.6909, allocations: 84 kB / 1.557 GB, free: 10.13 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.6923, allocations: 0.9219 MB / 1.558 GB, free: 9.125 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.6924, allocations: 3.938 kB / 1.558 GB, free: 9.121 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.6924, allocations: 36 kB / 1.558 GB, free: 9.086 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.6925, allocations: 20 kB / 1.558 GB, free: 9.066 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009406/0.6934, allocations: 0.5069 MB / 1.559 GB, free: 8.555 MB / 1.264 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.005341/0.6987, allocations: 4.806 MB / 1.564 GB, free: 3.445 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.6994, allocations: 408.7 kB / 1.564 GB, free: 2.918 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.6997, allocations: 259.8 kB / 1.564 GB, free: 2.621 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.6999, allocations: 15.98 kB / 1.564 GB, free: 2.605 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.6999, allocations: 58.44 kB / 1.564 GB, free: 2.539 MB / 1.264 GB Notification: Performance of pre-optimization done (n=31): time 2.355e-06/0.6999, allocations: 0 / 1.564 GB, free: 2.539 MB / 1.264 GB Notification: Performance of matching and sorting (n=31): time 0.001778/0.7017, allocations: 0.6319 MB / 1.565 GB, free: 1.895 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002174/0.7019, allocations: 402 kB / 1.565 GB, free: 1.41 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.7035, allocations: 1.275 MB / 1.566 GB, free: 128 kB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.7035, allocations: 33.7 kB / 1.566 GB, free: 88 kB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.6028/1.306, allocations: 0.5459 MB / 1.567 GB, free: 286.7 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/1.306, allocations: 120 kB / 1.567 GB, free: 286.7 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/1.307, allocations: 83.56 kB / 1.567 GB, free: 286.7 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 5.512e-05/1.307, allocations: 319.9 kB / 1.568 GB, free: 286.4 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/1.307, allocations: 92.3 kB / 1.568 GB, free: 286.4 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/1.307, allocations: 338.7 kB / 1.568 GB, free: 286.1 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005879/1.308, allocations: 325.7 kB / 1.568 GB, free: 286 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.308, allocations: 1.062 kB / 1.568 GB, free: 286 MB / 1.264 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001331/1.309, allocations: 0.4915 MB / 1.569 GB, free: 285.9 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/1.309, allocations: 8.078 kB / 1.569 GB, free: 285.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.309, allocations: 6.531 kB / 1.569 GB, free: 285.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/1.31, allocations: 71.38 kB / 1.569 GB, free: 285.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/1.31, allocations: 58.88 kB / 1.569 GB, free: 285.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/1.312, allocations: 3.058 MB / 1.572 GB, free: 283.1 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008904/1.313, allocations: 97.94 kB / 1.572 GB, free: 283.1 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/1.313, allocations: 22.17 kB / 1.572 GB, free: 283.1 MB / 1.264 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.0004156/1.314, allocations: 273.2 kB / 1.572 GB, free: 282.9 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/1.314, allocations: 150.4 kB / 1.572 GB, free: 282.9 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/1.314, allocations: 128.6 kB / 1.572 GB, free: 282.8 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/1.314, allocations: 5.531 kB / 1.572 GB, free: 282.8 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.314, allocations: 6.156 kB / 1.573 GB, free: 282.8 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.314, allocations: 4.688 kB / 1.573 GB, free: 282.8 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/1.317, allocations: 2.495 MB / 1.575 GB, free: 281 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.317, allocations: 9.188 kB / 1.575 GB, free: 281 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/1.317, allocations: 50.83 kB / 1.575 GB, free: 281 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/1.318, allocations: 70.38 kB / 1.575 GB, free: 280.9 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/1.318, allocations: 12.25 kB / 1.575 GB, free: 280.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/1.319, allocations: 3.051 MB / 1.578 GB, free: 278 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.319, allocations: 6.875 kB / 1.578 GB, free: 278 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/1.32, allocations: 0.6769 MB / 1.579 GB, free: 277.5 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/1.321, allocations: 172 kB / 1.579 GB, free: 277.4 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/1.321, allocations: 17.03 kB / 1.579 GB, free: 277.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/1.321, allocations: 42.97 kB / 1.579 GB, free: 277.4 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.322, allocations: 44.92 kB / 1.579 GB, free: 277.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/1.322, allocations: 18.94 kB / 1.579 GB, free: 277.4 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001826/1.323, allocations: 0.8786 MB / 1.58 GB, free: 277.1 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.4e-07/1.323, allocations: 0 / 1.58 GB, free: 277.1 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001365/1.325, allocations: 256.1 kB / 1.58 GB, free: 277 MB / 1.264 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.001308/1.326, allocations: 1.32 MB / 1.581 GB, free: 276 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009272/1.327, allocations: 0.512 MB / 1.582 GB, free: 275.7 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.327, allocations: 1.469 kB / 1.582 GB, free: 275.7 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004458/1.327, allocations: 408.2 kB / 1.582 GB, free: 275.4 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/1.331, allocations: 0.7506 MB / 1.583 GB, free: 275.2 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.342, allocations: 8.245 MB / 1.591 GB, free: 271.2 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/1.343, allocations: 1.133 MB / 1.592 GB, free: 270.5 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001135/1.344, allocations: 241.3 kB / 1.592 GB, free: 270.4 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/1.345, allocations: 443 kB / 1.593 GB, free: 270.1 MB / 1.264 GB Notification: Performance of SimCode: time 1.623e-06/1.345, allocations: 3.938 kB / 1.593 GB, free: 270.1 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07547/1.42, allocations: 34.57 MB / 1.627 GB, free: 247.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.82, allocations: 4.891 kB / 1.627 GB, free: 247.7 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv. Warning: Get data of variable res11.m_flow from file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv failed! Error: Could not read variable res21.m_flow in file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv. Warning: Get data of variable res21.m_flow from file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv failed! Error: Could not read variable res31.dp in file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv. Warning: Get data of variable res31.dp from file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv failed! Error: Could not read variable res41.dp in file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv. Warning: Get data of variable res41.dp from file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.257708955001362]