Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001096/0.001096, allocations: 68.47 kB / 19.16 MB, free: 0.7266 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.001096/0.001096, allocations: 169.9 kB / 22.46 MB, free: 2.082 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.9003/0.9003, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.786/1.786, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.006e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6214/0.6214, allocations: 214.5 MB / 1.209 GB, free: 10.95 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.6345, allocations: 12.49 MB / 1.221 GB, free: 1.98 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.6367, allocations: 87.31 kB / 1.221 GB, free: 1.93 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.6389, allocations: 0.9626 MB / 1.222 GB, free: 1.137 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.004073/0.6429, allocations: 1.915 MB / 1.224 GB, free: 15.63 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.6459, allocations: 1.386 MB / 1.226 GB, free: 14.6 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.003626/0.6495, allocations: 3.196 MB / 1.229 GB, free: 12.75 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.6505, allocations: 0.7923 MB / 1.23 GB, free: 12.18 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008114/0.6586, allocations: 4.708 MB / 1.234 GB, free: 9.043 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.66, allocations: 0.7932 MB / 1.235 GB, free: 8.621 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.6601, allocations: 83.78 kB / 1.235 GB, free: 8.617 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.6612, allocations: 0.6044 MB / 1.236 GB, free: 8.312 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003225/0.6615, allocations: 479.3 kB / 1.236 GB, free: 7.988 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004044/0.6619, allocations: 482.8 kB / 1.236 GB, free: 7.781 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.6633, allocations: 1.53 MB / 1.238 GB, free: 6.824 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6634, allocations: 3.281 kB / 1.238 GB, free: 6.824 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6634, allocations: 2.562 kB / 1.238 GB, free: 6.824 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.6634, allocations: 0 / 1.238 GB, free: 6.824 MB / 1.073 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.001562/0.6649, allocations: 1.601 MB / 1.24 GB, free: 5.621 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.665, allocations: 15.41 kB / 1.24 GB, free: 5.617 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.6651, allocations: 125.6 kB / 1.24 GB, free: 5.512 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.6655, allocations: 210.5 kB / 1.24 GB, free: 5.406 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009863/0.6665, allocations: 0.8525 MB / 1.241 GB, free: 4.762 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.6666, allocations: 176.9 kB / 1.241 GB, free: 4.605 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/0.6667, allocations: 86.66 kB / 1.241 GB, free: 4.578 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009027/0.6676, allocations: 1.015 MB / 1.242 GB, free: 3.746 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.6676, allocations: 7.938 kB / 1.242 GB, free: 3.738 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.6676, allocations: 36 kB / 1.242 GB, free: 3.703 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.6676, allocations: 20 kB / 1.242 GB, free: 3.684 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/0.6682, allocations: 0.5102 MB / 1.243 GB, free: 3.176 MB / 1.073 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.002772/0.671, allocations: 3.969 MB / 1.246 GB, free: 15.07 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.6714, allocations: 404.6 kB / 1.247 GB, free: 14.54 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.6716, allocations: 260 kB / 1.247 GB, free: 14.25 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.6717, allocations: 27.92 kB / 1.247 GB, free: 14.22 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.6717, allocations: 62.27 kB / 1.247 GB, free: 14.15 MB / 1.089 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.6717, allocations: 0 / 1.247 GB, free: 14.15 MB / 1.089 GB Notification: Performance of matching and sorting (n=31): time 0.001011/0.6727, allocations: 0.6289 MB / 1.248 GB, free: 13.51 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.6729, allocations: 401.7 kB / 1.248 GB, free: 13.02 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.6739, allocations: 1.308 MB / 1.249 GB, free: 11.71 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.6739, allocations: 41.64 kB / 1.249 GB, free: 11.66 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.6742, allocations: 0.5621 MB / 1.25 GB, free: 11.09 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.6743, allocations: 119 kB / 1.25 GB, free: 10.97 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.6743, allocations: 81.69 kB / 1.25 GB, free: 10.89 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6745, allocations: 318 kB / 1.25 GB, free: 10.57 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.6746, allocations: 87.94 kB / 1.251 GB, free: 10.48 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.675, allocations: 0.9863 MB / 1.252 GB, free: 9.246 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.6753, allocations: 324.6 kB / 1.252 GB, free: 8.883 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6753, allocations: 0 / 1.252 GB, free: 8.883 MB / 1.089 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004856/0.6758, allocations: 0.4979 MB / 1.252 GB, free: 8.371 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.6758, allocations: 4 kB / 1.252 GB, free: 8.367 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6758, allocations: 7.938 kB / 1.252 GB, free: 8.359 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.676, allocations: 74.02 kB / 1.252 GB, free: 8.281 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.6761, allocations: 55.91 kB / 1.252 GB, free: 8.227 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.6777, allocations: 3.038 MB / 1.255 GB, free: 4.965 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.6781, allocations: 103.6 kB / 1.256 GB, free: 4.867 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.6781, allocations: 23.94 kB / 1.256 GB, free: 4.844 MB / 1.089 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.0002671/0.6784, allocations: 277.6 kB / 1.256 GB, free: 4.562 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.6786, allocations: 143.1 kB / 1.256 GB, free: 4.422 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.393e-05/0.6787, allocations: 140.3 kB / 1.256 GB, free: 4.277 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.6787, allocations: 8 kB / 1.256 GB, free: 4.27 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.6787, allocations: 4 kB / 1.256 GB, free: 4.266 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6787, allocations: 4 kB / 1.256 GB, free: 4.262 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.6807, allocations: 2.414 MB / 1.258 GB, free: 1.711 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6807, allocations: 8 kB / 1.258 GB, free: 1.703 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.821e-05/0.6808, allocations: 48.61 kB / 1.258 GB, free: 1.656 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.6809, allocations: 77.61 kB / 1.259 GB, free: 1.574 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.6809, allocations: 12 kB / 1.259 GB, free: 1.562 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.6823, allocations: 3.036 MB / 1.262 GB, free: 14.31 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6823, allocations: 11.94 kB / 1.262 GB, free: 14.3 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.6828, allocations: 0.6659 MB / 1.262 GB, free: 13.54 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.6831, allocations: 186.9 kB / 1.262 GB, free: 13.36 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.269e-05/0.6831, allocations: 16 kB / 1.262 GB, free: 13.34 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.6835, allocations: 43.94 kB / 1.262 GB, free: 13.3 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.6835, allocations: 43.83 kB / 1.262 GB, free: 13.25 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.6836, allocations: 15.94 kB / 1.263 GB, free: 13.24 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0007545/0.6843, allocations: 0.9046 MB / 1.263 GB, free: 12.34 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6843, allocations: 0 / 1.263 GB, free: 12.34 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0006496/0.685, allocations: 259.8 kB / 1.264 GB, free: 12.08 MB / 1.104 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.0009252/0.6859, allocations: 1.307 MB / 1.265 GB, free: 10.68 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0005806/0.6865, allocations: 0.525 MB / 1.265 GB, free: 10.12 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6865, allocations: 0 / 1.265 GB, free: 10.12 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.6868, allocations: 398.6 kB / 1.266 GB, free: 9.711 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.6885, allocations: 0.715 MB / 1.267 GB, free: 9.008 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007464/0.6959, allocations: 8.397 MB / 1.275 GB, free: 268 kB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.6963, allocations: 0.5457 MB / 1.275 GB, free: 15.68 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.0006796/0.697, allocations: 242.7 kB / 1.275 GB, free: 15.44 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003455/0.6973, allocations: 452.4 kB / 1.276 GB, free: 15 MB / 1.12 GB Notification: Performance of SimCode: time 1.392e-06/0.6973, allocations: 0 / 1.276 GB, free: 15 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05378/0.7511, allocations: 37.87 MB / 1.313 GB, free: 9.91 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.567, allocations: 8 kB / 1.313 GB, free: 9.902 MB / 1.151 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.783221495337784]