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.00137/0.00137, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001539/0.001539, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.789 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.183/3.183, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002127/0.002127, allocations: 63.05 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3418, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2611/0.6029, allocations: 215 MB / 1.573 GB, free: 6.332 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.6213, allocations: 12.56 MB / 1.586 GB, free: 9.734 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.6231, allocations: 91.12 kB / 1.586 GB, free: 9.645 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002828/0.626, allocations: 0.9432 MB / 1.587 GB, free: 8.695 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.00502/0.631, allocations: 1.862 MB / 1.588 GB, free: 6.828 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.6343, allocations: 1.269 MB / 1.59 GB, free: 5.57 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.004901/0.6392, allocations: 3.284 MB / 1.593 GB, free: 2.281 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.6407, allocations: 0.8292 MB / 1.594 GB, free: 1.414 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01005/0.6507, allocations: 4.301 MB / 1.598 GB, free: 13.1 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.6523, allocations: 0.8825 MB / 1.599 GB, free: 12.21 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.6525, allocations: 80 kB / 1.599 GB, free: 12.13 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.6538, allocations: 0.5959 MB / 1.599 GB, free: 11.54 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0004709/0.6543, allocations: 458.4 kB / 1.6 GB, free: 11.09 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0006966/0.655, allocations: 0.5636 MB / 1.6 GB, free: 10.52 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.6571, allocations: 1.548 MB / 1.602 GB, free: 8.965 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6571, allocations: 3.938 kB / 1.602 GB, free: 8.961 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6571, allocations: 0 / 1.602 GB, free: 8.961 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.908e-05/0.6571, allocations: 0 / 1.602 GB, free: 8.961 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.002557/0.6597, allocations: 1.605 MB / 1.603 GB, free: 7.32 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.6597, allocations: 12.03 kB / 1.604 GB, free: 7.309 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.6599, allocations: 126.7 kB / 1.604 GB, free: 7.176 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006737/0.6606, allocations: 214.9 kB / 1.604 GB, free: 6.965 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.6623, allocations: 0.8423 MB / 1.605 GB, free: 6.078 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.6625, allocations: 176.8 kB / 1.605 GB, free: 5.879 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.6626, allocations: 84 kB / 1.605 GB, free: 5.797 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.6641, allocations: 1.014 MB / 1.606 GB, free: 4.668 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.6642, allocations: 11.94 kB / 1.606 GB, free: 4.656 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-05/0.6642, allocations: 32 kB / 1.606 GB, free: 4.625 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.6643, allocations: 20 kB / 1.606 GB, free: 4.605 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009251/0.6652, allocations: 0.5186 MB / 1.606 GB, free: 4.086 MB / 1.295 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.6296/1.295, allocations: 3.979 MB / 1.61 GB, free: 249.8 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007438/1.296, allocations: 400.8 kB / 1.611 GB, free: 249.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/1.296, allocations: 249.4 kB / 1.611 GB, free: 249.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/1.296, allocations: 25.2 kB / 1.611 GB, free: 249.3 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/1.296, allocations: 58.58 kB / 1.611 GB, free: 249.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=31): time 2.595e-06/1.296, allocations: 0 / 1.611 GB, free: 249.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=31): time 0.001995/1.298, allocations: 0.6308 MB / 1.612 GB, free: 249.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.736e-05/1.298, allocations: 406.6 kB / 1.612 GB, free: 248.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/1.3, allocations: 1.292 MB / 1.613 GB, free: 248.6 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/1.3, allocations: 38.3 kB / 1.613 GB, free: 248.6 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/1.301, allocations: 0.5607 MB / 1.614 GB, free: 248.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/1.301, allocations: 113.8 kB / 1.614 GB, free: 248.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/1.301, allocations: 84.69 kB / 1.614 GB, free: 248.5 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.408e-05/1.301, allocations: 319.6 kB / 1.614 GB, free: 248.2 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/1.301, allocations: 92.22 kB / 1.614 GB, free: 248.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/1.302, allocations: 0.9867 MB / 1.615 GB, free: 247.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/1.302, allocations: 327.1 kB / 1.616 GB, free: 246.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/1.302, allocations: 8.188 kB / 1.616 GB, free: 246.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009739/1.303, allocations: 0.4982 MB / 1.616 GB, free: 246.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.303, allocations: 8.422 kB / 1.616 GB, free: 246.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.303, allocations: 7.359 kB / 1.616 GB, free: 246.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/1.303, allocations: 70.2 kB / 1.616 GB, free: 246.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/1.304, allocations: 58.69 kB / 1.616 GB, free: 246.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/1.306, allocations: 3.036 MB / 1.619 GB, free: 243.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/1.306, allocations: 98.8 kB / 1.619 GB, free: 243.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/1.306, allocations: 21.53 kB / 1.619 GB, free: 243.6 MB / 1.295 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.0003744/1.307, allocations: 276.2 kB / 1.62 GB, free: 243.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/1.307, allocations: 143 kB / 1.62 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/1.307, allocations: 129.3 kB / 1.62 GB, free: 243.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/1.307, allocations: 10.31 kB / 1.62 GB, free: 243.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/1.307, allocations: 8.969 kB / 1.62 GB, free: 243.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/1.307, allocations: 5.656 kB / 1.62 GB, free: 243.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/1.31, allocations: 2.41 MB / 1.622 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.31, allocations: 4.531 kB / 1.622 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/1.311, allocations: 52.55 kB / 1.622 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/1.311, allocations: 70.62 kB / 1.622 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/1.311, allocations: 11.56 kB / 1.623 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/1.313, allocations: 3.044 MB / 1.625 GB, free: 238.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/1.313, allocations: 10.44 kB / 1.625 GB, free: 238.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/1.314, allocations: 0.686 MB / 1.626 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/1.314, allocations: 176.3 kB / 1.626 GB, free: 238 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/1.314, allocations: 13.59 kB / 1.626 GB, free: 238 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00068/1.315, allocations: 47.48 kB / 1.626 GB, free: 238 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/1.315, allocations: 43.41 kB / 1.626 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/1.315, allocations: 15.31 kB / 1.626 GB, free: 237.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001476/1.317, allocations: 0.8953 MB / 1.627 GB, free: 237.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.317, allocations: 0 / 1.627 GB, free: 237.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001041/1.318, allocations: 258.6 kB / 1.628 GB, free: 237.6 MB / 1.295 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.001206/1.319, allocations: 1.314 MB / 1.629 GB, free: 236.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009008/1.32, allocations: 0.5197 MB / 1.629 GB, free: 236.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.32, allocations: 6.375 kB / 1.629 GB, free: 236.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004651/1.32, allocations: 394.2 kB / 1.63 GB, free: 235.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/1.324, allocations: 0.7518 MB / 1.63 GB, free: 235.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/1.335, allocations: 8.304 MB / 1.639 GB, free: 231.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/1.335, allocations: 0.5516 MB / 1.639 GB, free: 231.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009879/1.336, allocations: 241.4 kB / 1.639 GB, free: 231.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/1.337, allocations: 443.6 kB / 1.64 GB, free: 231.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.082e-06/1.337, allocations: 0 / 1.64 GB, free: 231.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07862/1.415, allocations: 38.31 MB / 1.677 GB, free: 208.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.39, allocations: 0 / 1.677 GB, free: 208.1 MB / 1.295 GB " [Timeout remaining time 285] (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: 21.123139241710305]