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.001335/0.001335, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001488/0.001488, allocations: 217.9 kB / 22.25 MB, free: 5.105 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.805 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.087/3.087, allocations: 0.49 GB / 0.7951 GB, free: 35.5 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.002569/0.002569, allocations: 71.89 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3564, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2469/0.6033, allocations: 215 MB / 1.536 GB, free: 9.727 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01873/0.622, allocations: 12.56 MB / 1.548 GB, free: 13.13 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.6239, allocations: 91.12 kB / 1.548 GB, free: 13.04 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.6265, allocations: 0.9549 MB / 1.549 GB, free: 12.08 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004933/0.6314, allocations: 1.852 MB / 1.551 GB, free: 10.22 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.6349, allocations: 1.293 MB / 1.552 GB, free: 8.938 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005067/0.64, allocations: 3.297 MB / 1.555 GB, free: 5.625 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.6415, allocations: 0.8409 MB / 1.556 GB, free: 4.746 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01059/0.652, allocations: 4.301 MB / 1.56 GB, free: 440 kB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.6539, allocations: 0.9332 MB / 1.561 GB, free: 15.49 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.6541, allocations: 80 kB / 1.561 GB, free: 15.41 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.6556, allocations: 0.596 MB / 1.562 GB, free: 14.82 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005023/0.6561, allocations: 454.5 kB / 1.562 GB, free: 14.37 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007999/0.6569, allocations: 0.5714 MB / 1.563 GB, free: 13.8 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.659, allocations: 1.544 MB / 1.565 GB, free: 12.25 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.659, allocations: 0 / 1.565 GB, free: 12.25 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6591, allocations: 0 / 1.565 GB, free: 12.25 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.6591, allocations: 0 / 1.565 GB, free: 12.25 MB / 1.264 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.002428/0.6615, allocations: 1.613 MB / 1.566 GB, free: 10.6 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.6615, allocations: 8.031 kB / 1.566 GB, free: 10.59 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.6617, allocations: 126.7 kB / 1.566 GB, free: 10.46 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007045/0.6624, allocations: 207 kB / 1.566 GB, free: 10.25 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.664, allocations: 0.8461 MB / 1.567 GB, free: 9.363 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.6642, allocations: 180.8 kB / 1.567 GB, free: 9.16 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.6643, allocations: 84 kB / 1.567 GB, free: 9.078 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.6658, allocations: 1.019 MB / 1.568 GB, free: 7.949 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.6658, allocations: 3.938 kB / 1.568 GB, free: 7.945 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.6659, allocations: 36 kB / 1.569 GB, free: 7.91 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.6659, allocations: 20 kB / 1.569 GB, free: 7.891 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/0.6668, allocations: 0.5146 MB / 1.569 GB, free: 7.379 MB / 1.264 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.004385/0.6712, allocations: 3.975 MB / 1.573 GB, free: 3.25 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.6718, allocations: 404.7 kB / 1.573 GB, free: 2.727 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.6721, allocations: 255.8 kB / 1.574 GB, free: 2.434 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.6723, allocations: 24 kB / 1.574 GB, free: 2.41 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.6723, allocations: 66.36 kB / 1.574 GB, free: 2.336 MB / 1.264 GB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.6723, allocations: 0 / 1.574 GB, free: 2.336 MB / 1.264 GB Notification: Performance of matching and sorting (n=31): time 0.001705/0.674, allocations: 0.6321 MB / 1.574 GB, free: 1.691 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/0.6742, allocations: 401.6 kB / 1.575 GB, free: 1.207 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.6757, allocations: 1.292 MB / 1.576 GB, free: 15.91 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.6758, allocations: 37.7 kB / 1.576 GB, free: 15.86 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004778/0.6763, allocations: 0.5617 MB / 1.576 GB, free: 15.3 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/0.6763, allocations: 111.1 kB / 1.577 GB, free: 15.19 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.6765, allocations: 89.64 kB / 1.577 GB, free: 15.09 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6766, allocations: 321.9 kB / 1.577 GB, free: 14.77 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.6768, allocations: 87.94 kB / 1.577 GB, free: 14.69 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007331/0.6775, allocations: 0.995 MB / 1.578 GB, free: 13.44 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.678, allocations: 328.6 kB / 1.578 GB, free: 13.07 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.678, allocations: 0 / 1.578 GB, free: 13.07 MB / 1.279 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008479/0.6789, allocations: 0.4904 MB / 1.579 GB, free: 12.57 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.6789, allocations: 4 kB / 1.579 GB, free: 12.56 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6789, allocations: 7.938 kB / 1.579 GB, free: 12.55 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/0.6792, allocations: 73.66 kB / 1.579 GB, free: 12.48 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.6794, allocations: 55.91 kB / 1.579 GB, free: 12.42 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.6818, allocations: 3.047 MB / 1.582 GB, free: 9.152 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007116/0.6826, allocations: 95.36 kB / 1.582 GB, free: 9.059 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.6826, allocations: 24.11 kB / 1.582 GB, free: 9.035 MB / 1.279 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.0003788/0.683, allocations: 269.7 kB / 1.582 GB, free: 8.762 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003847/0.6834, allocations: 147.1 kB / 1.582 GB, free: 8.617 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.6835, allocations: 128.2 kB / 1.583 GB, free: 8.488 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6835, allocations: 11.94 kB / 1.583 GB, free: 8.477 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.6835, allocations: 8.031 kB / 1.583 GB, free: 8.469 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.6836, allocations: 7.938 kB / 1.583 GB, free: 8.461 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.6867, allocations: 2.414 MB / 1.585 GB, free: 5.91 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.6867, allocations: 4 kB / 1.585 GB, free: 5.906 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.6869, allocations: 47.91 kB / 1.585 GB, free: 5.859 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001849/0.6871, allocations: 77.61 kB / 1.585 GB, free: 5.777 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.6871, allocations: 12 kB / 1.585 GB, free: 5.766 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.6895, allocations: 3.044 MB / 1.588 GB, free: 2.492 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.6895, allocations: 7.938 kB / 1.588 GB, free: 2.484 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009265/0.6904, allocations: 0.6777 MB / 1.589 GB, free: 1.715 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.6909, allocations: 183 kB / 1.589 GB, free: 1.535 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.691, allocations: 12 kB / 1.589 GB, free: 1.523 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/0.6917, allocations: 43.95 kB / 1.589 GB, free: 1.48 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.6917, allocations: 39.81 kB / 1.589 GB, free: 1.441 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.6918, allocations: 20 kB / 1.589 GB, free: 1.422 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001109/0.6929, allocations: 0.8887 MB / 1.59 GB, free: 0.5352 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.6929, allocations: 0 / 1.59 GB, free: 0.5352 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0009125/0.6938, allocations: 259.8 kB / 1.59 GB, free: 288 kB / 1.279 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.001435/0.6952, allocations: 1.322 MB / 1.591 GB, free: 14.86 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009727/0.6962, allocations: 0.5086 MB / 1.592 GB, free: 14.33 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.6962, allocations: 4 kB / 1.592 GB, free: 14.32 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.6968, allocations: 402.5 kB / 1.592 GB, free: 13.91 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.7001, allocations: 0.7493 MB / 1.593 GB, free: 13.16 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.711, allocations: 8.316 MB / 1.601 GB, free: 4.488 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.7116, allocations: 0.5457 MB / 1.602 GB, free: 3.906 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007714/0.7123, allocations: 250.7 kB / 1.602 GB, free: 3.656 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.7129, allocations: 443.3 kB / 1.602 GB, free: 3.223 MB / 1.295 GB Notification: Performance of SimCode: time 5.72e-07/0.7129, allocations: 0 / 1.602 GB, free: 3.223 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6743/1.387, allocations: 38.41 MB / 1.64 GB, free: 271.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.95, allocations: 6.344 kB / 1.64 GB, free: 271.3 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.60640721701202]