Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.0007161/0.0007161, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.00077/0.00077, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.86/0.86, allocations: 177.2 MB / 202.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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 1.737/1.737, allocations: 389 MB / 0.6331 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.156e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.4987/0.4987, allocations: 45.53 MB / 1.044 GB, free: 43.87 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.5128, allocations: 11.84 MB / 1.056 GB, free: 43.64 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/0.5156, allocations: 109.2 kB / 1.056 GB, free: 43.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.5176, allocations: 0.7748 MB / 1.057 GB, free: 43.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004437/0.522, allocations: 1.982 MB / 1.059 GB, free: 43.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.5248, allocations: 1.417 MB / 1.06 GB, free: 43.2 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003802/0.5286, allocations: 3.26 MB / 1.063 GB, free: 42.43 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.5297, allocations: 0.9135 MB / 1.064 GB, free: 42.02 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.5326, allocations: 1.894 MB / 1.066 GB, free: 41.37 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008815/0.5334, allocations: 0.7912 MB / 1.067 GB, free: 41.19 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.5336, allocations: 98.16 kB / 1.067 GB, free: 41.19 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.5354, allocations: 0.9017 MB / 1.068 GB, free: 40.97 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.5356, allocations: 318.9 kB / 1.068 GB, free: 40.79 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004005/0.536, allocations: 460.4 kB / 1.068 GB, free: 40.63 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.5388, allocations: 2.024 MB / 1.07 GB, free: 40.04 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5388, allocations: 0 / 1.07 GB, free: 40.04 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5388, allocations: 2.719 kB / 1.07 GB, free: 40.04 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.5388, allocations: 0 / 1.07 GB, free: 40.04 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001607/0.5404, allocations: 1.637 MB / 1.072 GB, free: 39 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5405, allocations: 11.75 kB / 1.072 GB, free: 39 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.5406, allocations: 135.8 kB / 1.072 GB, free: 38.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004288/0.541, allocations: 220 kB / 1.072 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.5423, allocations: 1.042 MB / 1.073 GB, free: 38.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.5424, allocations: 70 kB / 1.073 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/0.5424, allocations: 80.44 kB / 1.073 GB, free: 38.22 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.5435, allocations: 1.133 MB / 1.074 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.5435, allocations: 4.5 kB / 1.075 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.5436, allocations: 37.72 kB / 1.075 GB, free: 37.52 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.5436, allocations: 23.47 kB / 1.075 GB, free: 37.52 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000755/0.5443, allocations: 0.6496 MB / 1.075 GB, free: 37.32 MB / 0.9948 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.002742/0.5471, allocations: 3.922 MB / 1.079 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.5477, allocations: 370.5 kB / 1.079 GB, free: 34.38 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.5479, allocations: 203.5 kB / 1.08 GB, free: 34.32 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.5482, allocations: 104.8 kB / 1.08 GB, free: 34.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.5482, allocations: 37.38 kB / 1.08 GB, free: 34.26 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=29): time 1.803e-06/0.5482, allocations: 0 / 1.08 GB, free: 34.26 MB / 0.9948 GB Notification: Performance of matching and sorting (n=29): time 0.001371/0.5496, allocations: 0.8535 MB / 1.081 GB, free: 33.99 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.5496, allocations: 58.47 kB / 1.081 GB, free: 33.92 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007115/0.5503, allocations: 0.9749 MB / 1.082 GB, free: 33.53 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.5503, allocations: 36.3 kB / 1.082 GB, free: 33.49 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.5505, allocations: 0.5915 MB / 1.082 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.5506, allocations: 108.3 kB / 1.082 GB, free: 32.94 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.5507, allocations: 108.8 kB / 1.082 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.418e-05/0.5507, allocations: 328.7 kB / 1.083 GB, free: 32.57 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.551, allocations: 205.4 kB / 1.083 GB, free: 32.51 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.5513, allocations: 0.5468 MB / 1.083 GB, free: 32.03 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006819/0.552, allocations: 0.5997 MB / 1.084 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.552, allocations: 6.312 kB / 1.084 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00122/0.5532, allocations: 0.7619 MB / 1.085 GB, free: 31.39 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.5533, allocations: 11.02 kB / 1.085 GB, free: 31.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.5533, allocations: 10.66 kB / 1.085 GB, free: 31.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004383/0.5537, allocations: 157.9 kB / 1.085 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.5541, allocations: 142.8 kB / 1.085 GB, free: 31.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005302/0.5546, allocations: 1.72 MB / 1.087 GB, free: 29.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.5551, allocations: 85.7 kB / 1.087 GB, free: 29.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.5551, allocations: 32.8 kB / 1.087 GB, free: 29.66 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000357/0.5555, allocations: 267.5 kB / 1.087 GB, free: 29.47 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.5556, allocations: 116.2 kB / 1.087 GB, free: 29.41 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.5566, allocations: 0.7222 MB / 1.088 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.5566, allocations: 8.312 kB / 1.088 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5567, allocations: 0 / 1.088 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5567, allocations: 8.828 kB / 1.088 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.5587, allocations: 1.525 MB / 1.089 GB, free: 28.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5587, allocations: 3.219 kB / 1.089 GB, free: 28.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.5589, allocations: 93.97 kB / 1.09 GB, free: 28.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000309/0.5593, allocations: 145 kB / 1.09 GB, free: 28.34 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.5593, allocations: 11.22 kB / 1.09 GB, free: 28.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005286/0.5598, allocations: 1.713 MB / 1.091 GB, free: 26.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5598, allocations: 2.281 kB / 1.091 GB, free: 26.7 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.5608, allocations: 0.7824 MB / 1.092 GB, free: 26.29 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.5611, allocations: 176.2 kB / 1.092 GB, free: 26.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.5612, allocations: 9.016 kB / 1.092 GB, free: 26.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.5615, allocations: 48.16 kB / 1.092 GB, free: 26.18 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.5615, allocations: 31.92 kB / 1.092 GB, free: 26.17 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.5616, allocations: 17.64 kB / 1.092 GB, free: 26.17 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006488/0.5622, allocations: 0.6566 MB / 1.093 GB, free: 25.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5622, allocations: 4 kB / 1.093 GB, free: 25.89 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0009225/0.5631, allocations: 389.2 kB / 1.093 GB, free: 25.79 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/0.5647, allocations: 1.624 MB / 1.095 GB, free: 24.78 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.5658, allocations: 0.5336 MB / 1.095 GB, free: 24.66 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5658, allocations: 1.406 kB / 1.096 GB, free: 24.66 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.5663, allocations: 277 kB / 1.096 GB, free: 24.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.5677, allocations: 0.5101 MB / 1.096 GB, free: 24.44 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009151/0.5768, allocations: 7.278 MB / 1.103 GB, free: 20.67 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.5773, allocations: 0.5113 MB / 1.104 GB, free: 20.52 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007797/0.5781, allocations: 179.6 kB / 1.104 GB, free: 20.48 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/0.5784, allocations: 418.2 kB / 1.104 GB, free: 20.16 MB / 0.9948 GB Notification: Performance of SimCode: time 1.443e-06/0.5784, allocations: 0 / 1.104 GB, free: 20.16 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05733/0.6358, allocations: 31.36 MB / 1.135 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.779, allocations: 7.391 kB / 1.135 GB, free: 14.24 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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: 12.77643215470016]