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.001899/0.001899, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001553/0.001553, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 8.016 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.202/3.202, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] 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.002027/0.002027, allocations: 63.92 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3293, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2831/0.6125, allocations: 246.7 MB / 1.567 GB, free: 10.28 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02042/0.6329, allocations: 13.67 MB / 1.58 GB, free: 12.57 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.6352, allocations: 91.19 kB / 1.58 GB, free: 12.48 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.6382, allocations: 1.021 MB / 1.581 GB, free: 11.45 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.005187/0.6433, allocations: 1.863 MB / 1.583 GB, free: 9.582 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.003559/0.6469, allocations: 1.303 MB / 1.584 GB, free: 8.289 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005161/0.6521, allocations: 3.306 MB / 1.588 GB, free: 4.969 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.6538, allocations: 0.8487 MB / 1.588 GB, free: 4.082 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01049/0.6643, allocations: 4.414 MB / 1.593 GB, free: 15.65 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.6661, allocations: 0.9255 MB / 1.594 GB, free: 14.72 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004177/0.6665, allocations: 80 kB / 1.594 GB, free: 14.64 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.6683, allocations: 0.7403 MB / 1.594 GB, free: 13.9 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.00062/0.6689, allocations: 462.3 kB / 1.595 GB, free: 13.45 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.6701, allocations: 0.6839 MB / 1.596 GB, free: 12.76 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.00271/0.6728, allocations: 1.533 MB / 1.597 GB, free: 11.22 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6728, allocations: 0 / 1.597 GB, free: 11.22 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6728, allocations: 0 / 1.597 GB, free: 11.22 MB / 1.295 GB Notification: Performance of Transformations before backend: time 6.291e-05/0.6729, allocations: 0 / 1.597 GB, free: 11.22 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.002998/0.6759, allocations: 1.617 MB / 1.599 GB, free: 9.57 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.6759, allocations: 12.03 kB / 1.599 GB, free: 9.559 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001991/0.6761, allocations: 122.7 kB / 1.599 GB, free: 9.43 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007361/0.6768, allocations: 210.9 kB / 1.599 GB, free: 9.223 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.6785, allocations: 0.8462 MB / 1.6 GB, free: 8.332 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.6787, allocations: 176.8 kB / 1.6 GB, free: 8.133 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.6788, allocations: 84 kB / 1.6 GB, free: 8.051 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.6803, allocations: 0.918 MB / 1.601 GB, free: 7.047 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.6803, allocations: 0 / 1.601 GB, free: 7.047 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/0.6803, allocations: 36 kB / 1.601 GB, free: 7.012 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.6804, allocations: 20 kB / 1.601 GB, free: 6.992 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008879/0.6812, allocations: 0.5224 MB / 1.602 GB, free: 6.473 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.005119/0.6864, allocations: 4.803 MB / 1.606 GB, free: 1.355 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.687, allocations: 412.6 kB / 1.607 GB, free: 0.8242 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.6873, allocations: 251.9 kB / 1.607 GB, free: 0.5352 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.6875, allocations: 27.92 kB / 1.607 GB, free: 0.5078 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.6875, allocations: 58.48 kB / 1.607 GB, free: 452 kB / 1.295 GB Notification: Performance of pre-optimization done (n=31): time 1.893e-06/0.6875, allocations: 0 / 1.607 GB, free: 452 kB / 1.295 GB Notification: Performance of matching and sorting (n=31): time 0.6238/1.311, allocations: 0.625 MB / 1.608 GB, free: 284.9 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/1.311, allocations: 406.1 kB / 1.608 GB, free: 284.4 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/1.313, allocations: 1.293 MB / 1.609 GB, free: 284.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 8.471e-05/1.314, allocations: 37.39 kB / 1.609 GB, free: 284.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/1.314, allocations: 0.5565 MB / 1.61 GB, free: 284.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 9.175e-05/1.314, allocations: 114.7 kB / 1.61 GB, free: 284.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/1.314, allocations: 84.88 kB / 1.61 GB, free: 284.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.333e-05/1.314, allocations: 318.5 kB / 1.61 GB, free: 283.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/1.314, allocations: 93.97 kB / 1.61 GB, free: 283.8 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/1.315, allocations: 342.3 kB / 1.611 GB, free: 283.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/1.315, allocations: 331 kB / 1.611 GB, free: 283.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.315, allocations: 1.031 kB / 1.611 GB, free: 283.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009641/1.316, allocations: 0.4902 MB / 1.611 GB, free: 283.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.316, allocations: 7.375 kB / 1.611 GB, free: 283.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.316, allocations: 5.094 kB / 1.611 GB, free: 283.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000286/1.317, allocations: 71.52 kB / 1.612 GB, free: 283.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/1.317, allocations: 59.5 kB / 1.612 GB, free: 283.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/1.319, allocations: 3.062 MB / 1.615 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/1.319, allocations: 96.02 kB / 1.615 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/1.319, allocations: 21.69 kB / 1.615 GB, free: 280.2 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.0004014/1.32, allocations: 280.3 kB / 1.615 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/1.32, allocations: 153.6 kB / 1.615 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/1.32, allocations: 128.3 kB / 1.615 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.32, allocations: 10.67 kB / 1.615 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/1.32, allocations: 5.312 kB / 1.615 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/1.32, allocations: 4.906 kB / 1.615 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/1.323, allocations: 2.489 MB / 1.618 GB, free: 278.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.323, allocations: 5.875 kB / 1.618 GB, free: 278.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/1.324, allocations: 47.11 kB / 1.618 GB, free: 278.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/1.324, allocations: 74.42 kB / 1.618 GB, free: 278 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/1.324, allocations: 12.03 kB / 1.618 GB, free: 278 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/1.326, allocations: 3.066 MB / 1.621 GB, free: 275.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.326, allocations: 4.969 kB / 1.621 GB, free: 275.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/1.327, allocations: 0.6817 MB / 1.621 GB, free: 274.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/1.327, allocations: 178.3 kB / 1.622 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/1.327, allocations: 11.86 kB / 1.622 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/1.328, allocations: 44.17 kB / 1.622 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/1.328, allocations: 46.64 kB / 1.622 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/1.328, allocations: 13.81 kB / 1.622 GB, free: 274.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001305/1.329, allocations: 0.8913 MB / 1.623 GB, free: 274.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.329, allocations: 0 / 1.623 GB, free: 274.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001046/1.33, allocations: 260.1 kB / 1.623 GB, free: 274.1 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.001244/1.332, allocations: 1.31 MB / 1.624 GB, free: 273.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009442/1.333, allocations: 0.5177 MB / 1.625 GB, free: 272.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.333, allocations: 2.094 kB / 1.625 GB, free: 272.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004845/1.333, allocations: 403.7 kB / 1.625 GB, free: 272.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/1.336, allocations: 0.7496 MB / 1.626 GB, free: 272.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.349, allocations: 8.312 MB / 1.634 GB, free: 268.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007527/1.35, allocations: 1.139 MB / 1.635 GB, free: 267.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001066/1.351, allocations: 241.4 kB / 1.635 GB, free: 267.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/1.351, allocations: 442.9 kB / 1.636 GB, free: 267.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.823e-06/1.351, allocations: 0 / 1.636 GB, free: 267.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0742/1.426, allocations: 34.75 MB / 1.67 GB, free: 243.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/15.36, allocations: 9.578 kB / 1.67 GB, free: 243.2 MB / 1.295 GB " [Timeout remaining time 285] (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: 22.2297110108193]