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.001308/0.001308, allocations: 111.3 kB / 16.46 MB, free: 6.508 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.001624/0.001624, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.453/1.453, allocations: 230.6 MB / 252.8 MB, free: 9.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.121/3.121, allocations: 0.49 GB / 0.7916 GB, free: 33.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.001964/0.001964, allocations: 73.72 kB / 1.149 GB, free: 26.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 176.1 MB / 1.321 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.276/0.5846, allocations: 246 MB / 1.561 GB, free: 12.56 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01936/0.604, allocations: 13.61 MB / 1.574 GB, free: 14.91 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.6062, allocations: 87.19 kB / 1.574 GB, free: 14.82 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.6089, allocations: 1.013 MB / 1.575 GB, free: 13.8 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.6135, allocations: 1.849 MB / 1.577 GB, free: 11.95 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.6167, allocations: 1.239 MB / 1.578 GB, free: 10.72 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.004564/0.6213, allocations: 3.258 MB / 1.582 GB, free: 7.449 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.6227, allocations: 0.8988 MB / 1.582 GB, free: 6.52 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009233/0.6319, allocations: 4.332 MB / 1.587 GB, free: 2.172 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.6334, allocations: 0.9294 MB / 1.588 GB, free: 1.238 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.6335, allocations: 80 kB / 1.588 GB, free: 1.16 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.635, allocations: 0.7442 MB / 1.588 GB, free: 424 kB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0004593/0.6354, allocations: 446.3 kB / 1.589 GB, free: 15.98 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0007585/0.6362, allocations: 0.6878 MB / 1.59 GB, free: 15.29 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.6382, allocations: 1.537 MB / 1.591 GB, free: 13.74 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6382, allocations: 0 / 1.591 GB, free: 13.74 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6382, allocations: 3.938 kB / 1.591 GB, free: 13.74 MB / 1.295 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.6382, allocations: 0 / 1.591 GB, free: 13.74 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.002322/0.6405, allocations: 1.681 MB / 1.593 GB, free: 12 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.6406, allocations: 15.92 kB / 1.593 GB, free: 11.99 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.6407, allocations: 126.7 kB / 1.593 GB, free: 11.86 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006617/0.6414, allocations: 207 kB / 1.593 GB, free: 11.65 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.6428, allocations: 0.9377 MB / 1.594 GB, free: 10.66 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.643, allocations: 129.4 kB / 1.594 GB, free: 10.52 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.6431, allocations: 83.94 kB / 1.594 GB, free: 10.44 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.6445, allocations: 0.919 MB / 1.595 GB, free: 9.434 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.6445, allocations: 7.938 kB / 1.595 GB, free: 9.426 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.6446, allocations: 32 kB / 1.595 GB, free: 9.395 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.6446, allocations: 24 kB / 1.595 GB, free: 9.371 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008952/0.6455, allocations: 0.5149 MB / 1.596 GB, free: 8.852 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.00483/0.6503, allocations: 4.866 MB / 1.6 GB, free: 3.676 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.6509, allocations: 416.6 kB / 1.601 GB, free: 3.141 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.6513, allocations: 247.9 kB / 1.601 GB, free: 2.855 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.6515, allocations: 97.25 kB / 1.601 GB, free: 2.742 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.6515, allocations: 62.47 kB / 1.601 GB, free: 2.672 MB / 1.295 GB Notification: Performance of pre-optimization done (n=31): time 1.913e-06/0.6515, allocations: 0 / 1.601 GB, free: 2.672 MB / 1.295 GB Notification: Performance of matching and sorting (n=31): time 0.001833/0.6534, allocations: 0.7901 MB / 1.602 GB, free: 1.832 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001991/0.6536, allocations: 397.9 kB / 1.602 GB, free: 1.352 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.6551, allocations: 1.288 MB / 1.604 GB, free: 56 kB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.6552, allocations: 41.7 kB / 1.604 GB, free: 8 kB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.6646/1.32, allocations: 0.55 MB / 1.604 GB, free: 286.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/1.32, allocations: 118.9 kB / 1.604 GB, free: 286.7 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/1.32, allocations: 83.77 kB / 1.604 GB, free: 286.6 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.873e-05/1.32, allocations: 323 kB / 1.605 GB, free: 286.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/1.32, allocations: 93 kB / 1.605 GB, free: 286.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/1.321, allocations: 348.2 kB / 1.605 GB, free: 286 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/1.321, allocations: 321.9 kB / 1.605 GB, free: 285.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.321, allocations: 1.75 kB / 1.605 GB, free: 285.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001213/1.323, allocations: 0.4948 MB / 1.606 GB, free: 285.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/1.323, allocations: 7.312 kB / 1.606 GB, free: 285.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.323, allocations: 2.781 kB / 1.606 GB, free: 285.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/1.323, allocations: 77.36 kB / 1.606 GB, free: 285.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/1.323, allocations: 54.8 kB / 1.606 GB, free: 285.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/1.325, allocations: 3.265 MB / 1.609 GB, free: 282.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/1.326, allocations: 102.6 kB / 1.609 GB, free: 282.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/1.326, allocations: 22.2 kB / 1.609 GB, free: 282.4 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.0004675/1.327, allocations: 276.2 kB / 1.61 GB, free: 282.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004935/1.327, allocations: 142.7 kB / 1.61 GB, free: 282.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/1.327, allocations: 129.5 kB / 1.61 GB, free: 282.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/1.327, allocations: 7.312 kB / 1.61 GB, free: 282.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.328, allocations: 9.125 kB / 1.61 GB, free: 282.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/1.328, allocations: 5.172 kB / 1.61 GB, free: 282.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/1.331, allocations: 2.531 MB / 1.612 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/1.331, allocations: 5.688 kB / 1.612 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/1.331, allocations: 50.58 kB / 1.612 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/1.331, allocations: 67.05 kB / 1.612 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/1.331, allocations: 12.5 kB / 1.612 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/1.333, allocations: 3.269 MB / 1.616 GB, free: 277 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.333, allocations: 7.438 kB / 1.616 GB, free: 277 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/1.334, allocations: 0.6795 MB / 1.616 GB, free: 276.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/1.334, allocations: 258.3 kB / 1.617 GB, free: 276.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/1.335, allocations: 13.88 kB / 1.617 GB, free: 276.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/1.335, allocations: 46.95 kB / 1.617 GB, free: 276.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-05/1.335, allocations: 48.08 kB / 1.617 GB, free: 276.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/1.335, allocations: 15.66 kB / 1.617 GB, free: 276.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001359/1.337, allocations: 0.8906 MB / 1.618 GB, free: 276 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/1.337, allocations: 0.5312 kB / 1.618 GB, free: 276 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001185/1.338, allocations: 258.8 kB / 1.618 GB, free: 275.9 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.00135/1.339, allocations: 1.316 MB / 1.619 GB, free: 274.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.000974/1.34, allocations: 0.5166 MB / 1.62 GB, free: 274.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.34, allocations: 4.891 kB / 1.62 GB, free: 274.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004792/1.341, allocations: 398.7 kB / 1.62 GB, free: 274.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/1.344, allocations: 0.7536 MB / 1.621 GB, free: 274.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/1.358, allocations: 8.3 MB / 1.629 GB, free: 270.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/1.359, allocations: 1.142 MB / 1.63 GB, free: 269.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00105/1.36, allocations: 244.9 kB / 1.63 GB, free: 269.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/1.36, allocations: 443.5 kB / 1.631 GB, free: 269 MB / 1.295 GB Notification: Performance of SimCode: time 9.02e-07/1.36, allocations: 0 / 1.631 GB, free: 269 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07137/1.432, allocations: 34.54 MB / 1.664 GB, free: 245.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.95, allocations: 17.73 kB / 1.664 GB, free: 245.8 MB / 1.295 GB " [Timeout remaining time 286] (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/jenkins1/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: 20.607245546998456]