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.0007652/0.0007652, 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.0008531/0.0008531, allocations: 165.9 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.8661/0.8661, 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 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.692/1.692, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.463e-06/1.463e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.55e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6028/0.6028, allocations: 214.6 MB / 1.191 GB, free: 444 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.6174, allocations: 12.56 MB / 1.203 GB, free: 7.93 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.6199, allocations: 88.09 kB / 1.203 GB, free: 7.879 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.6221, allocations: 0.9675 MB / 1.204 GB, free: 7.301 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.004145/0.6262, allocations: 1.919 MB / 1.206 GB, free: 6.199 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.629, allocations: 1.419 MB / 1.207 GB, free: 5.508 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.00447/0.6334, allocations: 3.284 MB / 1.21 GB, free: 3.984 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.6347, allocations: 0.8288 MB / 1.211 GB, free: 3.578 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009234/0.6439, allocations: 4.74 MB / 1.216 GB, free: 0.4922 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.6456, allocations: 0.7951 MB / 1.217 GB, free: 72 kB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.6458, allocations: 84.12 kB / 1.217 GB, free: 68 kB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.6471, allocations: 0.6048 MB / 1.217 GB, free: 15.76 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0003669/0.6475, allocations: 483.1 kB / 1.218 GB, free: 15.43 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.00055/0.648, allocations: 476.2 kB / 1.218 GB, free: 15.23 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.6498, allocations: 1.55 MB / 1.22 GB, free: 14.26 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6498, allocations: 0 / 1.22 GB, free: 14.26 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6498, allocations: 0 / 1.22 GB, free: 14.26 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.6498, allocations: 0 / 1.22 GB, free: 14.26 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.001854/0.6517, allocations: 1.622 MB / 1.221 GB, free: 13.04 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.6517, allocations: 9.938 kB / 1.221 GB, free: 13.04 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003915/0.6521, allocations: 125.5 kB / 1.221 GB, free: 12.94 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005246/0.6526, allocations: 218 kB / 1.222 GB, free: 12.83 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.6538, allocations: 0.8655 MB / 1.222 GB, free: 12.18 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.6539, allocations: 179.7 kB / 1.223 GB, free: 12.03 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.6539, allocations: 90.64 kB / 1.223 GB, free: 12 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.6549, allocations: 1.019 MB / 1.224 GB, free: 11.21 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.655, allocations: 2.938 kB / 1.224 GB, free: 11.21 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.655, allocations: 31.78 kB / 1.224 GB, free: 11.19 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.655, allocations: 21.56 kB / 1.224 GB, free: 11.19 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.6556, allocations: 0.5061 MB / 1.224 GB, free: 10.95 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.003106/0.6587, allocations: 3.979 MB / 1.228 GB, free: 7.496 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.6591, allocations: 406.8 kB / 1.228 GB, free: 7.074 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.6593, allocations: 255.6 kB / 1.229 GB, free: 6.879 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.6594, allocations: 27.27 kB / 1.229 GB, free: 6.871 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.6595, allocations: 57.95 kB / 1.229 GB, free: 6.812 MB / 1.057 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.6595, allocations: 0 / 1.229 GB, free: 6.812 MB / 1.057 GB Notification: Performance of matching and sorting (n=31): time 0.001086/0.6606, allocations: 0.6362 MB / 1.229 GB, free: 6.473 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.6607, allocations: 401.1 kB / 1.23 GB, free: 5.996 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.6621, allocations: 1.319 MB / 1.231 GB, free: 5.301 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.6621, allocations: 39.17 kB / 1.231 GB, free: 5.262 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.6625, allocations: 0.5683 MB / 1.232 GB, free: 4.762 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.6625, allocations: 112.2 kB / 1.232 GB, free: 4.664 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.6626, allocations: 83.38 kB / 1.232 GB, free: 4.617 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.6627, allocations: 320.7 kB / 1.232 GB, free: 4.301 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.6628, allocations: 94.11 kB / 1.232 GB, free: 4.258 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.6633, allocations: 0.9885 MB / 1.233 GB, free: 3.117 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.6636, allocations: 333 kB / 1.234 GB, free: 2.875 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6636, allocations: 2.656 kB / 1.234 GB, free: 2.875 MB / 1.057 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005618/0.6641, allocations: 0.4962 MB / 1.234 GB, free: 2.594 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6642, allocations: 8.469 kB / 1.234 GB, free: 2.594 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.6642, allocations: 6.906 kB / 1.234 GB, free: 2.59 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.6644, allocations: 64.2 kB / 1.234 GB, free: 2.555 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.6645, allocations: 64.88 kB / 1.234 GB, free: 2.535 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.6663, allocations: 3.036 MB / 1.237 GB, free: 15.52 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.6668, allocations: 94.2 kB / 1.237 GB, free: 15.46 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.6668, allocations: 23.75 kB / 1.237 GB, free: 15.46 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.0003416/0.6672, allocations: 286.8 kB / 1.237 GB, free: 15.25 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.6674, allocations: 145.3 kB / 1.238 GB, free: 15.17 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.6675, allocations: 132.6 kB / 1.238 GB, free: 15.08 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.6675, allocations: 8.281 kB / 1.238 GB, free: 15.08 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.6675, allocations: 5.062 kB / 1.238 GB, free: 15.08 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.6675, allocations: 6.859 kB / 1.238 GB, free: 15.07 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.6698, allocations: 2.421 MB / 1.24 GB, free: 13.03 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6699, allocations: 5.125 kB / 1.24 GB, free: 13.03 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.6699, allocations: 52.88 kB / 1.24 GB, free: 13.02 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.67, allocations: 71.08 kB / 1.24 GB, free: 12.98 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.6701, allocations: 12.44 kB / 1.24 GB, free: 12.97 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.6716, allocations: 3.03 MB / 1.243 GB, free: 9.965 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6716, allocations: 11.5 kB / 1.243 GB, free: 9.961 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/0.6721, allocations: 0.6767 MB / 1.244 GB, free: 9.414 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.6724, allocations: 180.1 kB / 1.244 GB, free: 9.289 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.49e-05/0.6725, allocations: 15.64 kB / 1.244 GB, free: 9.281 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.6729, allocations: 37.64 kB / 1.244 GB, free: 9.266 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.6729, allocations: 51.17 kB / 1.244 GB, free: 9.23 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.673, allocations: 27.61 kB / 1.244 GB, free: 9.223 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0007976/0.6738, allocations: 0.9124 MB / 1.245 GB, free: 8.734 MB / 1.073 GB Notification: Performance of sort global known variables: time 5e-08/0.6738, allocations: 0 / 1.245 GB, free: 8.734 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0007138/0.6745, allocations: 261.2 kB / 1.245 GB, free: 8.703 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.00097/0.6754, allocations: 1.316 MB / 1.247 GB, free: 7.582 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0006063/0.6761, allocations: 0.5118 MB / 1.247 GB, free: 7.215 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6761, allocations: 3.375 kB / 1.247 GB, free: 7.215 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.6764, allocations: 408.1 kB / 1.248 GB, free: 6.891 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.6782, allocations: 0.7477 MB / 1.248 GB, free: 6.5 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008382/0.6866, allocations: 8.448 MB / 1.257 GB, free: 14.07 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.687, allocations: 0.5539 MB / 1.257 GB, free: 13.48 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.000729/0.6877, allocations: 250.8 kB / 1.257 GB, free: 13.23 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/0.688, allocations: 452.4 kB / 1.258 GB, free: 12.78 MB / 1.089 GB Notification: Performance of SimCode: time 1.472e-06/0.688, allocations: 4 kB / 1.258 GB, free: 12.78 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05665/0.7447, allocations: 38.63 MB / 1.295 GB, free: 7.012 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.59, allocations: 6.562 kB / 1.295 GB, free: 7.008 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.642347693443298]