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.001349/0.001349, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001612/0.001612, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8916/0.8916, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.728/1.728, allocations: 377.9 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.945e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6588/0.6588, allocations: 214.6 MB / 1.191 GB, free: 500 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.6747, allocations: 12.56 MB / 1.203 GB, free: 7.992 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.6771, allocations: 92.81 kB / 1.203 GB, free: 7.938 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.6798, allocations: 0.9667 MB / 1.204 GB, free: 7.359 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.00485/0.6847, allocations: 1.919 MB / 1.206 GB, free: 6.254 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.6879, allocations: 1.41 MB / 1.207 GB, free: 5.57 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.004879/0.6928, allocations: 3.286 MB / 1.21 GB, free: 4.047 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.6944, allocations: 0.831 MB / 1.211 GB, free: 3.641 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/0.7049, allocations: 4.739 MB / 1.216 GB, free: 0.5117 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.7066, allocations: 0.8039 MB / 1.217 GB, free: 84 kB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.707, allocations: 85.16 kB / 1.217 GB, free: 80 kB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.7085, allocations: 0.5975 MB / 1.217 GB, free: 15.78 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0004833/0.709, allocations: 481.2 kB / 1.218 GB, free: 15.45 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0008405/0.7098, allocations: 483.1 kB / 1.218 GB, free: 15.25 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.7122, allocations: 1.541 MB / 1.22 GB, free: 14.28 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.7122, allocations: 2.781 kB / 1.22 GB, free: 14.28 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7122, allocations: 0 / 1.22 GB, free: 14.28 MB / 1.057 GB Notification: Performance of Transformations before backend: time 5.913e-05/0.7123, allocations: 0 / 1.22 GB, free: 14.28 MB / 1.057 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.002386/0.7147, allocations: 1.622 MB / 1.221 GB, free: 13.06 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.7147, allocations: 14.66 kB / 1.221 GB, free: 13.06 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.7149, allocations: 125.6 kB / 1.221 GB, free: 12.95 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005849/0.7154, allocations: 217.4 kB / 1.222 GB, free: 12.84 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.7168, allocations: 0.866 MB / 1.222 GB, free: 12.2 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.7169, allocations: 175.1 kB / 1.223 GB, free: 12.05 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/0.717, allocations: 87.19 kB / 1.223 GB, free: 12.02 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.718, allocations: 1.018 MB / 1.224 GB, free: 11.24 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.7181, allocations: 0 / 1.224 GB, free: 11.24 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.7181, allocations: 34.75 kB / 1.224 GB, free: 11.21 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.7181, allocations: 20.72 kB / 1.224 GB, free: 11.21 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.7188, allocations: 0.5119 MB / 1.224 GB, free: 10.96 MB / 1.057 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.003476/0.7222, allocations: 3.983 MB / 1.228 GB, free: 7.512 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.7227, allocations: 404.6 kB / 1.228 GB, free: 7.09 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.7229, allocations: 256 kB / 1.229 GB, free: 6.895 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.723, allocations: 27.98 kB / 1.229 GB, free: 6.883 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.723, allocations: 49.19 kB / 1.229 GB, free: 6.836 MB / 1.057 GB Notification: Performance of pre-optimization done (n=31): time 4.298e-06/0.723, allocations: 0 / 1.229 GB, free: 6.836 MB / 1.057 GB Notification: Performance of matching and sorting (n=31): time 0.001295/0.7243, allocations: 0.6381 MB / 1.229 GB, free: 6.492 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.7245, allocations: 401.2 kB / 1.23 GB, free: 6.016 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.7256, allocations: 1.328 MB / 1.231 GB, free: 5.312 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.7257, allocations: 34.61 kB / 1.231 GB, free: 5.277 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.726, allocations: 0.5685 MB / 1.232 GB, free: 4.777 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/0.7261, allocations: 112.4 kB / 1.232 GB, free: 4.68 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.7262, allocations: 87.36 kB / 1.232 GB, free: 4.629 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.7263, allocations: 320.6 kB / 1.232 GB, free: 4.312 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.7264, allocations: 94.52 kB / 1.232 GB, free: 4.27 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.7268, allocations: 0.9844 MB / 1.233 GB, free: 3.133 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.7271, allocations: 329.1 kB / 1.234 GB, free: 2.895 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.7271, allocations: 6.688 kB / 1.234 GB, free: 2.891 MB / 1.057 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006369/0.7278, allocations: 0.4886 MB / 1.234 GB, free: 2.617 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.7278, allocations: 8.594 kB / 1.234 GB, free: 2.617 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.7278, allocations: 13.62 kB / 1.234 GB, free: 2.609 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.728, allocations: 72.34 kB / 1.234 GB, free: 2.566 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.7282, allocations: 61.03 kB / 1.234 GB, free: 2.551 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.73, allocations: 3.025 MB / 1.237 GB, free: 15.55 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.7306, allocations: 102.5 kB / 1.237 GB, free: 15.48 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.7306, allocations: 24.03 kB / 1.237 GB, free: 15.47 MB / 1.073 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.0003728/0.731, allocations: 282 kB / 1.237 GB, free: 15.27 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.7313, allocations: 149.5 kB / 1.238 GB, free: 15.19 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.7314, allocations: 132.5 kB / 1.238 GB, free: 15.1 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.7314, allocations: 7.625 kB / 1.238 GB, free: 15.1 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.7314, allocations: 5.781 kB / 1.238 GB, free: 15.1 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.7314, allocations: 6.172 kB / 1.238 GB, free: 15.09 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.7336, allocations: 2.419 MB / 1.24 GB, free: 13.05 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7336, allocations: 5 kB / 1.24 GB, free: 13.05 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-05/0.7337, allocations: 52.98 kB / 1.24 GB, free: 13.04 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/0.7339, allocations: 64.52 kB / 1.24 GB, free: 13 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.7339, allocations: 12.28 kB / 1.24 GB, free: 13 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.7355, allocations: 3.049 MB / 1.243 GB, free: 9.973 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.7355, allocations: 7.156 kB / 1.243 GB, free: 9.973 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.7362, allocations: 0.6737 MB / 1.244 GB, free: 9.43 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.7365, allocations: 184.4 kB / 1.244 GB, free: 9.301 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.22e-05/0.7366, allocations: 11.47 kB / 1.244 GB, free: 9.297 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.737, allocations: 41.47 kB / 1.244 GB, free: 9.277 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.7371, allocations: 40.14 kB / 1.244 GB, free: 9.254 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.7371, allocations: 21.12 kB / 1.244 GB, free: 9.246 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0008851/0.738, allocations: 0.9204 MB / 1.245 GB, free: 8.75 MB / 1.073 GB Notification: Performance of sort global known variables: time 8e-08/0.738, allocations: 0 / 1.245 GB, free: 8.75 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0008011/0.7388, allocations: 259.6 kB / 1.245 GB, free: 8.723 MB / 1.073 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.0009986/0.7398, allocations: 1.319 MB / 1.247 GB, free: 7.602 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0006734/0.7405, allocations: 0.5098 MB / 1.247 GB, free: 7.234 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7405, allocations: 6.906 kB / 1.247 GB, free: 7.23 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.7408, allocations: 412.2 kB / 1.248 GB, free: 6.902 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.7429, allocations: 0.7504 MB / 1.248 GB, free: 6.504 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008733/0.7516, allocations: 8.439 MB / 1.257 GB, free: 14.06 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.752, allocations: 0.5578 MB / 1.257 GB, free: 13.46 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0007059/0.7527, allocations: 250.7 kB / 1.257 GB, free: 13.21 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.7531, allocations: 452.4 kB / 1.258 GB, free: 12.77 MB / 1.089 GB Notification: Performance of SimCode: time 1.613e-06/0.7531, allocations: 4 kB / 1.258 GB, free: 12.77 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05706/0.8101, allocations: 38.63 MB / 1.295 GB, free: 7 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.611, allocations: 4 kB / 1.295 GB, free: 6.996 MB / 1.12 GB " [Timeout remaining time 291] (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/jenkins/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: 12.934289914555848]