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.001345/0.001345, allocations: 114.5 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.001511/0.001511, 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 3.199/3.199, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.001979/0.001979, allocations: 76.56 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3372, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.3087/0.6458, allocations: 246.7 MB / 1.594 GB, free: 0.8008 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.02122/0.6671, allocations: 13.68 MB / 1.607 GB, free: 3.078 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.6689, allocations: 95.12 kB / 1.607 GB, free: 2.984 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.002771/0.6717, allocations: 1.017 MB / 1.608 GB, free: 1.961 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.004934/0.6766, allocations: 1.854 MB / 1.61 GB, free: 104 kB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.7964/1.473, allocations: 1.293 MB / 1.611 GB, free: 5.59 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.00615/1.479, allocations: 3.301 MB / 1.615 GB, free: 5.582 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/1.481, allocations: 0.8417 MB / 1.615 GB, free: 5.5 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01153/1.493, allocations: 4.415 MB / 1.62 GB, free: 5.5 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/1.495, allocations: 0.9306 MB / 1.621 GB, free: 5.5 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0003043/1.495, allocations: 78.78 kB / 1.621 GB, free: 5.5 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/1.498, allocations: 0.7468 MB / 1.621 GB, free: 5.5 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0007195/1.498, allocations: 453.5 kB / 1.622 GB, free: 5.5 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/1.5, allocations: 0.6844 MB / 1.623 GB, free: 5.5 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.003401/1.503, allocations: 1.542 MB / 1.624 GB, free: 5.383 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.503, allocations: 0 / 1.624 GB, free: 5.383 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.023e-06/1.503, allocations: 0.8438 kB / 1.624 GB, free: 5.383 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.941e-05/1.503, allocations: 1.25 kB / 1.624 GB, free: 5.383 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.003349/1.506, allocations: 1.61 MB / 1.626 GB, free: 20.55 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/1.506, allocations: 9.344 kB / 1.626 GB, free: 20.55 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/1.507, allocations: 128.3 kB / 1.626 GB, free: 20.51 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008283/1.507, allocations: 204.2 kB / 1.626 GB, free: 20.43 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/1.509, allocations: 0.8473 MB / 1.627 GB, free: 20.08 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/1.51, allocations: 175.8 kB / 1.627 GB, free: 19.95 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/1.51, allocations: 89.31 kB / 1.627 GB, free: 19.95 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/1.511, allocations: 0.9149 MB / 1.628 GB, free: 19.68 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/1.511, allocations: 6.188 kB / 1.628 GB, free: 19.68 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/1.511, allocations: 32.66 kB / 1.628 GB, free: 19.68 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/1.512, allocations: 22.11 kB / 1.628 GB, free: 19.68 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009166/1.512, allocations: 0.5073 MB / 1.628 GB, free: 19.68 MB / 1.311 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.006427/1.519, allocations: 4.811 MB / 1.633 GB, free: 16.29 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/1.52, allocations: 410.4 kB / 1.634 GB, free: 15.96 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/1.52, allocations: 258.4 kB / 1.634 GB, free: 15.85 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/1.52, allocations: 28.17 kB / 1.634 GB, free: 15.85 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/1.52, allocations: 56.75 kB / 1.634 GB, free: 15.8 MB / 1.311 GB Notification: Performance of pre-optimization done (n=31): time 4.428e-06/1.52, allocations: 1 kB / 1.634 GB, free: 15.8 MB / 1.311 GB Notification: Performance of matching and sorting (n=31): time 0.002136/1.522, allocations: 0.6402 MB / 1.634 GB, free: 15.67 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/1.523, allocations: 397.7 kB / 1.635 GB, free: 15.2 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/1.525, allocations: 1.29 MB / 1.636 GB, free: 15.05 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/1.525, allocations: 39.48 kB / 1.636 GB, free: 15.02 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005434/1.525, allocations: 0.5588 MB / 1.637 GB, free: 14.88 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/1.525, allocations: 119.5 kB / 1.637 GB, free: 14.81 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/1.526, allocations: 82.94 kB / 1.637 GB, free: 14.79 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.526, allocations: 318.4 kB / 1.637 GB, free: 14.48 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/1.526, allocations: 93.11 kB / 1.637 GB, free: 14.48 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/1.526, allocations: 344.4 kB / 1.638 GB, free: 14.23 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/1.527, allocations: 323.4 kB / 1.638 GB, free: 14.12 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.527, allocations: 2.188 kB / 1.638 GB, free: 14.12 MB / 1.311 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001055/1.528, allocations: 0.4951 MB / 1.638 GB, free: 14 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.528, allocations: 10.3 kB / 1.638 GB, free: 14 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.528, allocations: 2.875 kB / 1.638 GB, free: 14 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003105/1.528, allocations: 76.73 kB / 1.639 GB, free: 13.98 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/1.528, allocations: 54.86 kB / 1.639 GB, free: 13.98 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/1.531, allocations: 3.057 MB / 1.642 GB, free: 11.26 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/1.532, allocations: 99.2 kB / 1.642 GB, free: 11.21 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/1.532, allocations: 19.58 kB / 1.642 GB, free: 11.21 MB / 1.311 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.0005921/1.533, allocations: 279 kB / 1.642 GB, free: 11.09 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004763/1.533, allocations: 143.6 kB / 1.642 GB, free: 11.02 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/1.534, allocations: 131.7 kB / 1.642 GB, free: 11 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.534, allocations: 6.906 kB / 1.642 GB, free: 11 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/1.534, allocations: 6.75 kB / 1.642 GB, free: 11 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.534, allocations: 8.469 kB / 1.642 GB, free: 11 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/1.537, allocations: 2.496 MB / 1.645 GB, free: 9.539 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/1.537, allocations: 6.531 kB / 1.645 GB, free: 9.539 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/1.537, allocations: 50.38 kB / 1.645 GB, free: 9.539 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001908/1.538, allocations: 70.58 kB / 1.645 GB, free: 9.523 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/1.538, allocations: 15.61 kB / 1.645 GB, free: 9.523 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/1.54, allocations: 3.061 MB / 1.648 GB, free: 6.797 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.54, allocations: 6.344 kB / 1.648 GB, free: 6.797 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/1.541, allocations: 0.6807 MB / 1.648 GB, free: 6.387 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/1.542, allocations: 185.9 kB / 1.649 GB, free: 6.301 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/1.542, allocations: 13.75 kB / 1.649 GB, free: 6.301 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006727/1.543, allocations: 40.3 kB / 1.649 GB, free: 6.301 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/1.543, allocations: 45.31 kB / 1.649 GB, free: 6.297 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/1.543, allocations: 19.66 kB / 1.649 GB, free: 6.297 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001292/1.544, allocations: 0.8896 MB / 1.65 GB, free: 6.188 MB / 1.311 GB Notification: Performance of sort global known variables: time 7e-08/1.544, allocations: 1.953 kB / 1.65 GB, free: 6.188 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001108/1.545, allocations: 257 kB / 1.65 GB, free: 6.172 MB / 1.311 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.001568/1.547, allocations: 1.321 MB / 1.651 GB, free: 5.227 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.001053/1.548, allocations: 0.516 MB / 1.652 GB, free: 5 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.548, allocations: 2.094 kB / 1.652 GB, free: 5 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0005589/1.549, allocations: 402 kB / 1.652 GB, free: 4.773 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/1.552, allocations: 0.7431 MB / 1.653 GB, free: 4.668 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.564, allocations: 8.315 MB / 1.661 GB, free: 1.98 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008377/1.565, allocations: 1.141 MB / 1.662 GB, free: 1.277 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001245/1.566, allocations: 249 kB / 1.662 GB, free: 1.242 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/1.567, allocations: 448.7 kB / 1.663 GB, free: 1.234 MB / 1.311 GB Notification: Performance of SimCode: time 9.82e-07/1.567, allocations: 0 / 1.663 GB, free: 1.234 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08188/1.648, allocations: 34.74 MB / 1.697 GB, free: 12.84 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.65, allocations: 10.5 kB / 1.697 GB, free: 12.84 MB / 1.326 GB " [Timeout remaining time 284] (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/jenkins1/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: 22.502211899030954]