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.0008199/0.0008199, 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.0008423/0.0008423, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.9107/0.9107, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.706/1.706, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.563e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6771/0.6771, allocations: 214.5 MB / 1.16 GB, free: 2.125 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.6918, allocations: 12.55 MB / 1.172 GB, free: 9.629 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.6944, allocations: 91.75 kB / 1.172 GB, free: 9.574 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.6977, allocations: 0.9606 MB / 1.173 GB, free: 9 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00675/0.7044, allocations: 1.944 MB / 1.175 GB, free: 7.891 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.7076, allocations: 1.418 MB / 1.177 GB, free: 7.195 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00476/0.7124, allocations: 3.313 MB / 1.18 GB, free: 5.672 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.714, allocations: 0.8347 MB / 1.181 GB, free: 5.266 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009334/0.7234, allocations: 4.68 MB / 1.185 GB, free: 3.172 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.7253, allocations: 0.8286 MB / 1.186 GB, free: 2.902 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.7255, allocations: 81.06 kB / 1.186 GB, free: 2.902 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.7273, allocations: 0.6062 MB / 1.187 GB, free: 2.688 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004878/0.7278, allocations: 479.3 kB / 1.187 GB, free: 2.473 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007019/0.7285, allocations: 485.7 kB / 1.188 GB, free: 2.297 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.7307, allocations: 1.54 MB / 1.189 GB, free: 1.723 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7307, allocations: 0 / 1.189 GB, free: 1.723 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7307, allocations: 0 / 1.189 GB, free: 1.723 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.569e-05/0.7308, allocations: 0 / 1.189 GB, free: 1.723 MB / 1.01 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.002023/0.7328, allocations: 1.622 MB / 1.191 GB, free: 0.6523 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.7328, allocations: 14.16 kB / 1.191 GB, free: 0.6484 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.7329, allocations: 125 kB / 1.191 GB, free: 0.5625 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000516/0.7335, allocations: 216.9 kB / 1.191 GB, free: 476 kB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.7347, allocations: 0.8641 MB / 1.192 GB, free: 15.95 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.7348, allocations: 175.3 kB / 1.192 GB, free: 15.79 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.28e-05/0.7349, allocations: 89.16 kB / 1.192 GB, free: 15.77 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000978/0.7359, allocations: 1.027 MB / 1.193 GB, free: 15.12 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.7359, allocations: 5.562 kB / 1.193 GB, free: 15.11 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.7359, allocations: 33.59 kB / 1.193 GB, free: 15.09 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.7359, allocations: 20.22 kB / 1.193 GB, free: 15.09 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005978/0.7365, allocations: 0.504 MB / 1.194 GB, free: 14.92 MB / 1.026 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.003005/0.7395, allocations: 3.988 MB / 1.198 GB, free: 11.82 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.7399, allocations: 405.3 kB / 1.198 GB, free: 11.42 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.7401, allocations: 252.9 kB / 1.198 GB, free: 11.26 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.7402, allocations: 24.28 kB / 1.198 GB, free: 11.25 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.7403, allocations: 56.94 kB / 1.198 GB, free: 11.2 MB / 1.026 GB Notification: Performance of pre-optimization done (n=31): time 3.587e-06/0.7403, allocations: 3.984 kB / 1.198 GB, free: 11.2 MB / 1.026 GB Notification: Performance of matching and sorting (n=31): time 0.001053/0.7413, allocations: 0.6438 MB / 1.199 GB, free: 10.93 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002553/0.7416, allocations: 399.5 kB / 1.199 GB, free: 10.46 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.7426, allocations: 1.327 MB / 1.201 GB, free: 9.965 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.7427, allocations: 40.34 kB / 1.201 GB, free: 9.926 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.743, allocations: 0.5632 MB / 1.201 GB, free: 9.477 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.743, allocations: 117.6 kB / 1.201 GB, free: 9.383 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.533e-05/0.7431, allocations: 83.45 kB / 1.201 GB, free: 9.34 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.7432, allocations: 315.1 kB / 1.202 GB, free: 9.031 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.7433, allocations: 93.7 kB / 1.202 GB, free: 9.008 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.7438, allocations: 0.9883 MB / 1.203 GB, free: 7.906 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.7441, allocations: 325.7 kB / 1.203 GB, free: 7.699 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7441, allocations: 4 kB / 1.203 GB, free: 7.695 MB / 1.026 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005282/0.7446, allocations: 0.4887 MB / 1.203 GB, free: 7.473 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.7446, allocations: 7.625 kB / 1.203 GB, free: 7.473 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.7446, allocations: 14.47 kB / 1.204 GB, free: 7.461 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.7448, allocations: 72.42 kB / 1.204 GB, free: 7.434 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.7449, allocations: 57.56 kB / 1.204 GB, free: 7.426 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.7465, allocations: 3.025 MB / 1.207 GB, free: 4.508 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.7471, allocations: 95.95 kB / 1.207 GB, free: 4.457 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.7471, allocations: 27.14 kB / 1.207 GB, free: 4.449 MB / 1.026 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.0002775/0.7474, allocations: 273.1 kB / 1.207 GB, free: 4.266 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.7476, allocations: 155 kB / 1.207 GB, free: 4.18 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.7477, allocations: 131.3 kB / 1.207 GB, free: 4.098 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7477, allocations: 9.266 kB / 1.207 GB, free: 4.094 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.7477, allocations: 5.719 kB / 1.207 GB, free: 4.094 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.7477, allocations: 7.016 kB / 1.207 GB, free: 4.09 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.7499, allocations: 2.418 MB / 1.21 GB, free: 2.051 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7499, allocations: 9.656 kB / 1.21 GB, free: 2.047 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-05/0.75, allocations: 53.25 kB / 1.21 GB, free: 2.031 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.7501, allocations: 74.89 kB / 1.21 GB, free: 1.988 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.7501, allocations: 12.97 kB / 1.21 GB, free: 1.984 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.7516, allocations: 3.04 MB / 1.213 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.7516, allocations: 12.22 kB / 1.213 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.7521, allocations: 0.6735 MB / 1.213 GB, free: 14.41 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.7524, allocations: 182.9 kB / 1.214 GB, free: 14.29 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/0.7525, allocations: 12.16 kB / 1.214 GB, free: 14.28 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.7528, allocations: 36.98 kB / 1.214 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.7529, allocations: 48.38 kB / 1.214 GB, free: 14.23 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.7529, allocations: 13.31 kB / 1.214 GB, free: 14.23 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0007576/0.7537, allocations: 0.9202 MB / 1.215 GB, free: 13.74 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7537, allocations: 0 / 1.215 GB, free: 13.74 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0007107/0.7544, allocations: 267.1 kB / 1.215 GB, free: 13.7 MB / 1.042 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.0009578/0.7553, allocations: 1.322 MB / 1.216 GB, free: 12.58 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006726/0.756, allocations: 0.5125 MB / 1.217 GB, free: 12.21 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.756, allocations: 0 / 1.217 GB, free: 12.21 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.7563, allocations: 402.8 kB / 1.217 GB, free: 11.89 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/0.759, allocations: 0.7452 MB / 1.218 GB, free: 11.51 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009261/0.7682, allocations: 8.468 MB / 1.226 GB, free: 6.414 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.7686, allocations: 0.5483 MB / 1.227 GB, free: 6.098 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0007024/0.7693, allocations: 250 kB / 1.227 GB, free: 5.984 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.7697, allocations: 460 kB / 1.227 GB, free: 5.605 MB / 1.042 GB Notification: Performance of SimCode: time 1.282e-06/0.7697, allocations: 0 / 1.227 GB, free: 5.605 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05293/0.8226, allocations: 38.63 MB / 1.265 GB, free: 6.34 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.725, allocations: 7.984 kB / 1.265 GB, free: 6.332 MB / 1.073 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.847658802755177]