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.001803/0.001803, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002357/0.002357, allocations: 217 kB / 22.25 MB, free: 5.082 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.988 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.089/3.089, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.001943/0.001943, allocations: 66.94 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3573, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2706/0.6278, allocations: 246.7 MB / 1.567 GB, free: 10.26 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.6469, allocations: 13.69 MB / 1.58 GB, free: 12.54 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.6488, allocations: 87.19 kB / 1.58 GB, free: 12.45 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.6516, allocations: 1.021 MB / 1.581 GB, free: 11.42 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.004855/0.6564, allocations: 1.854 MB / 1.583 GB, free: 9.562 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.6598, allocations: 1.307 MB / 1.584 GB, free: 8.266 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.004747/0.6645, allocations: 3.304 MB / 1.588 GB, free: 4.949 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.6659, allocations: 0.837 MB / 1.588 GB, free: 4.074 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/0.6762, allocations: 4.425 MB / 1.593 GB, free: 15.63 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.6781, allocations: 0.9294 MB / 1.594 GB, free: 14.7 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002194/0.6784, allocations: 80 kB / 1.594 GB, free: 14.62 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.6799, allocations: 0.7403 MB / 1.594 GB, free: 13.88 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0004572/0.6804, allocations: 454.4 kB / 1.595 GB, free: 13.43 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00085/0.6812, allocations: 0.6917 MB / 1.596 GB, free: 12.74 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.6834, allocations: 1.533 MB / 1.597 GB, free: 11.2 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6834, allocations: 3.938 kB / 1.597 GB, free: 11.2 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6834, allocations: 0 / 1.597 GB, free: 11.2 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.503e-05/0.6834, allocations: 0 / 1.597 GB, free: 11.2 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.002476/0.6859, allocations: 1.613 MB / 1.599 GB, free: 9.547 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.6859, allocations: 8.031 kB / 1.599 GB, free: 9.539 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.6861, allocations: 122.7 kB / 1.599 GB, free: 9.41 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007564/0.6868, allocations: 214.9 kB / 1.599 GB, free: 9.199 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.6885, allocations: 0.8462 MB / 1.6 GB, free: 8.309 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.6887, allocations: 172.8 kB / 1.6 GB, free: 8.113 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.6888, allocations: 84 kB / 1.6 GB, free: 8.031 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.6902, allocations: 0.9102 MB / 1.601 GB, free: 7.035 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.6902, allocations: 7.938 kB / 1.601 GB, free: 7.027 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.6903, allocations: 32 kB / 1.601 GB, free: 6.996 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.6903, allocations: 20 kB / 1.601 GB, free: 6.977 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008682/0.6912, allocations: 0.5225 MB / 1.602 GB, free: 6.457 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.00506/0.6962, allocations: 4.807 MB / 1.606 GB, free: 1.336 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.6968, allocations: 412.7 kB / 1.607 GB, free: 0.8047 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/0.6972, allocations: 255.8 kB / 1.607 GB, free: 0.5117 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.6973, allocations: 27.92 kB / 1.607 GB, free: 496 kB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.6974, allocations: 54.48 kB / 1.607 GB, free: 432 kB / 1.295 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.6974, allocations: 0 / 1.607 GB, free: 432 kB / 1.295 GB Notification: Performance of matching and sorting (n=31): time 0.6071/1.304, allocations: 0.6276 MB / 1.608 GB, free: 285.4 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/1.305, allocations: 403.5 kB / 1.608 GB, free: 284.9 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/1.306, allocations: 1.293 MB / 1.609 GB, free: 284.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.648e-05/1.307, allocations: 38.86 kB / 1.609 GB, free: 284.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/1.307, allocations: 0.5565 MB / 1.61 GB, free: 284.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/1.307, allocations: 115.6 kB / 1.61 GB, free: 284.3 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/1.307, allocations: 85.45 kB / 1.61 GB, free: 284.3 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.637e-05/1.307, allocations: 319.8 kB / 1.61 GB, free: 284 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/1.307, allocations: 91.89 kB / 1.61 GB, free: 284 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/1.308, allocations: 339.7 kB / 1.611 GB, free: 283.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/1.308, allocations: 328.5 kB / 1.611 GB, free: 283.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.308, allocations: 1.062 kB / 1.611 GB, free: 283.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008911/1.309, allocations: 0.5012 MB / 1.611 GB, free: 283.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.309, allocations: 6.812 kB / 1.611 GB, free: 283.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.309, allocations: 4.844 kB / 1.611 GB, free: 283.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/1.309, allocations: 64.94 kB / 1.612 GB, free: 283.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/1.31, allocations: 59.09 kB / 1.612 GB, free: 283.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/1.311, allocations: 3.061 MB / 1.615 GB, free: 280.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/1.312, allocations: 99.42 kB / 1.615 GB, free: 280.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/1.312, allocations: 22.36 kB / 1.615 GB, free: 280.3 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.0004148/1.313, allocations: 281.9 kB / 1.615 GB, free: 280.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004764/1.313, allocations: 143.7 kB / 1.615 GB, free: 280.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/1.313, allocations: 132.9 kB / 1.615 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/1.313, allocations: 5.562 kB / 1.615 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/1.313, allocations: 5.312 kB / 1.615 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/1.313, allocations: 7.75 kB / 1.615 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/1.316, allocations: 2.488 MB / 1.618 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.316, allocations: 9.438 kB / 1.618 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/1.316, allocations: 46.33 kB / 1.618 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/1.317, allocations: 74.36 kB / 1.618 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/1.317, allocations: 11.88 kB / 1.618 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/1.318, allocations: 3.059 MB / 1.621 GB, free: 275.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.318, allocations: 8.969 kB / 1.621 GB, free: 275.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009909/1.319, allocations: 0.6817 MB / 1.621 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/1.32, allocations: 174.5 kB / 1.622 GB, free: 274.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/1.32, allocations: 15.97 kB / 1.622 GB, free: 274.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/1.32, allocations: 42.97 kB / 1.622 GB, free: 274.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/1.321, allocations: 50.19 kB / 1.622 GB, free: 274.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/1.321, allocations: 15.23 kB / 1.622 GB, free: 274.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001113/1.322, allocations: 0.8903 MB / 1.623 GB, free: 274.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.322, allocations: 1.344 kB / 1.623 GB, free: 274.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009514/1.323, allocations: 260.5 kB / 1.623 GB, free: 274.2 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.001092/1.324, allocations: 1.312 MB / 1.624 GB, free: 273.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0008694/1.325, allocations: 0.5157 MB / 1.625 GB, free: 272.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.325, allocations: 2.781 kB / 1.625 GB, free: 272.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004446/1.325, allocations: 393.5 kB / 1.625 GB, free: 272.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/1.328, allocations: 0.7505 MB / 1.626 GB, free: 272.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/1.34, allocations: 8.32 MB / 1.634 GB, free: 268.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/1.341, allocations: 1.14 MB / 1.635 GB, free: 267.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009685/1.342, allocations: 247.3 kB / 1.635 GB, free: 267.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/1.342, allocations: 446.8 kB / 1.636 GB, free: 267.2 MB / 1.295 GB Notification: Performance of SimCode: time 8.31e-07/1.342, allocations: 1.094 kB / 1.636 GB, free: 267.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07165/1.414, allocations: 34.74 MB / 1.67 GB, free: 243.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.83, allocations: 6.594 kB / 1.67 GB, free: 243.4 MB / 1.295 GB " [Timeout remaining time 285] (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: 21.666268770999523]