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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 111.9 kB / 16.41 MB, free: 6.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.119/3.119, allocations: 489 MB / 0.7678 GB, free: 29.15 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.91 kB / 1.101 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7525/0.7543, allocations: 163.8 MB / 1.261 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2564/1.011, allocations: 242 MB / 1.497 GB, free: 4.25 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01817/1.029, allocations: 13.52 MB / 1.511 GB, free: 6.695 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/1.031, allocations: 67.56 kB / 1.511 GB, free: 6.629 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/1.034, allocations: 0.9782 MB / 1.512 GB, free: 5.645 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004814/1.038, allocations: 1.749 MB / 1.513 GB, free: 3.891 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/1.042, allocations: 1.244 MB / 1.515 GB, free: 2.656 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004948/1.047, allocations: 3.229 MB / 1.518 GB, free: 15.42 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/1.049, allocations: 1.055 MB / 1.519 GB, free: 14.34 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009299/1.058, allocations: 4.179 MB / 1.523 GB, free: 10.14 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/1.06, allocations: 0.871 MB / 1.524 GB, free: 9.266 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/1.06, allocations: 80 kB / 1.524 GB, free: 9.188 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/1.061, allocations: 0.6937 MB / 1.524 GB, free: 8.492 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/1.062, allocations: 446.5 kB / 1.525 GB, free: 8.055 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008063/1.063, allocations: 0.6761 MB / 1.525 GB, free: 7.375 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002069/1.065, allocations: 1.525 MB / 1.527 GB, free: 5.844 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.065, allocations: 3.984 kB / 1.527 GB, free: 5.84 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.382e-06/1.065, allocations: 0 / 1.527 GB, free: 5.84 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.068e-05/1.065, allocations: 0 / 1.527 GB, free: 5.84 MB / 1.232 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.002274/1.067, allocations: 1.665 MB / 1.529 GB, free: 4.121 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.067, allocations: 12.03 kB / 1.529 GB, free: 4.109 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/1.067, allocations: 122.7 kB / 1.529 GB, free: 3.98 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006554/1.068, allocations: 210.9 kB / 1.529 GB, free: 3.773 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/1.069, allocations: 0.9139 MB / 1.53 GB, free: 2.805 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/1.07, allocations: 125.4 kB / 1.53 GB, free: 2.668 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/1.07, allocations: 83.98 kB / 1.53 GB, free: 2.586 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/1.071, allocations: 0.9181 MB / 1.531 GB, free: 1.578 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/1.071, allocations: 7.938 kB / 1.531 GB, free: 1.57 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.179e-05/1.071, allocations: 32 kB / 1.531 GB, free: 1.539 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/1.071, allocations: 20 kB / 1.531 GB, free: 1.52 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/1.072, allocations: 0.5071 MB / 1.531 GB, free: 1.016 MB / 1.232 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.005102/1.077, allocations: 4.874 MB / 1.536 GB, free: 11.83 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/1.078, allocations: 420.6 kB / 1.537 GB, free: 11.29 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004353/1.078, allocations: 272 kB / 1.537 GB, free: 10.98 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/1.079, allocations: 101.1 kB / 1.537 GB, free: 10.86 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/1.079, allocations: 46.5 kB / 1.537 GB, free: 10.81 MB / 1.248 GB Notification: Performance of pre-optimization done (n=31): time 2.275e-06/1.079, allocations: 3.938 kB / 1.537 GB, free: 10.8 MB / 1.248 GB Notification: Performance of matching and sorting (n=31): time 0.001875/1.081, allocations: 0.7785 MB / 1.538 GB, free: 9.977 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002233/1.081, allocations: 401.7 kB / 1.538 GB, free: 9.492 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/1.082, allocations: 1.271 MB / 1.539 GB, free: 8.211 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/1.082, allocations: 37.7 kB / 1.539 GB, free: 8.168 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/1.083, allocations: 0.5578 MB / 1.54 GB, free: 7.605 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 9.924e-05/1.083, allocations: 107.1 kB / 1.54 GB, free: 7.5 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/1.083, allocations: 85.59 kB / 1.54 GB, free: 7.41 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.083, allocations: 329.8 kB / 1.541 GB, free: 7.082 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/1.083, allocations: 91.92 kB / 1.541 GB, free: 6.992 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/1.084, allocations: 331.6 kB / 1.541 GB, free: 6.574 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005203/1.084, allocations: 332.5 kB / 1.541 GB, free: 6.203 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.084, allocations: 0 / 1.541 GB, free: 6.203 MB / 1.248 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009194/1.085, allocations: 0.4904 MB / 1.542 GB, free: 5.699 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.085, allocations: 8 kB / 1.542 GB, free: 5.691 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.085, allocations: 4 kB / 1.542 GB, free: 5.688 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/1.086, allocations: 69.89 kB / 1.542 GB, free: 5.613 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/1.086, allocations: 63.84 kB / 1.542 GB, free: 5.551 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/1.089, allocations: 3.266 MB / 1.545 GB, free: 2.008 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/1.089, allocations: 95.41 kB / 1.545 GB, free: 1.914 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/1.09, allocations: 23.98 kB / 1.545 GB, free: 1.891 MB / 1.248 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.0004338/1.09, allocations: 269.8 kB / 1.545 GB, free: 1.617 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/1.09, allocations: 151 kB / 1.546 GB, free: 1.469 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/1.091, allocations: 124 kB / 1.546 GB, free: 1.344 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.091, allocations: 11.94 kB / 1.546 GB, free: 1.332 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.091, allocations: 4 kB / 1.546 GB, free: 1.328 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.091, allocations: 4 kB / 1.546 GB, free: 1.324 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.094, allocations: 2.52 MB / 1.548 GB, free: 14.66 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.094, allocations: 7.984 kB / 1.548 GB, free: 14.65 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/1.094, allocations: 47.92 kB / 1.548 GB, free: 14.61 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/1.094, allocations: 70.36 kB / 1.548 GB, free: 14.53 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/1.094, allocations: 12 kB / 1.548 GB, free: 14.52 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/1.097, allocations: 3.273 MB / 1.551 GB, free: 10.97 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/1.097, allocations: 4 kB / 1.551 GB, free: 10.96 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/1.098, allocations: 0.6898 MB / 1.552 GB, free: 10.18 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/1.098, allocations: 256 kB / 1.552 GB, free: 9.914 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/1.098, allocations: 16 kB / 1.552 GB, free: 9.898 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/1.099, allocations: 39.95 kB / 1.552 GB, free: 9.859 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/1.099, allocations: 43.83 kB / 1.552 GB, free: 9.816 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/1.099, allocations: 23.94 kB / 1.553 GB, free: 9.793 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001153/1.1, allocations: 0.8763 MB / 1.553 GB, free: 8.918 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/1.1, allocations: 0 / 1.553 GB, free: 8.918 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.000968/1.101, allocations: 259.8 kB / 1.554 GB, free: 8.664 MB / 1.264 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.001584/1.103, allocations: 1.342 MB / 1.555 GB, free: 7.234 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009759/1.104, allocations: 0.5282 MB / 1.555 GB, free: 6.68 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.104, allocations: 0 / 1.555 GB, free: 6.68 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005709/1.105, allocations: 407 kB / 1.556 GB, free: 6.258 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/1.108, allocations: 0.74 MB / 1.557 GB, free: 5.52 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/1.12, allocations: 8.249 MB / 1.565 GB, free: 12.91 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008522/1.121, allocations: 1.131 MB / 1.566 GB, free: 11.75 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008906/1.122, allocations: 238.5 kB / 1.566 GB, free: 11.52 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/1.122, allocations: 443.3 kB / 1.566 GB, free: 11.08 MB / 1.279 GB Notification: Performance of SimCode: time 7.22e-07/1.122, allocations: 0 / 1.566 GB, free: 11.08 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.656/1.778, allocations: 34.24 MB / 1.6 GB, free: 328.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/14.27, allocations: 8.156 kB / 1.6 GB, free: 328.9 MB / 1.295 GB " [Timeout remaining time 286] (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_2/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: 20.41741195693612]