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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004203/0.004203, allocations: 98.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 197.7 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.554/2.554, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 71.88 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.268, allocations: 162.3 MB / 1.242 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.5237/0.7917, allocations: 49.89 MB / 1.291 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.8092, allocations: 12.68 MB / 1.303 GB, free: 6.555 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.8111, allocations: 86.12 kB / 1.303 GB, free: 6.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.8128, allocations: 0.7599 MB / 1.304 GB, free: 6.035 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003971/0.8168, allocations: 1.813 MB / 1.306 GB, free: 4.977 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.8199, allocations: 1.367 MB / 1.307 GB, free: 4.242 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003628/0.8235, allocations: 3.249 MB / 1.31 GB, free: 2.746 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.825, allocations: 1.263 MB / 1.311 GB, free: 2.156 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.828, allocations: 1.46 MB / 1.313 GB, free: 1.484 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.829, allocations: 0.9144 MB / 1.314 GB, free: 1.055 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.8292, allocations: 96.25 kB / 1.314 GB, free: 1.055 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.8313, allocations: 1.059 MB / 1.315 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.8316, allocations: 292.7 kB / 1.315 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006587/0.8322, allocations: 0.6819 MB / 1.316 GB, free: 88 kB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.8347, allocations: 1.967 MB / 1.318 GB, free: 15.33 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.8347, allocations: 1.125 kB / 1.318 GB, free: 15.33 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8347, allocations: 0 / 1.318 GB, free: 15.33 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.8347, allocations: 0 / 1.318 GB, free: 15.33 MB / 1.045 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.002493/0.8372, allocations: 1.739 MB / 1.319 GB, free: 14.15 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.8373, allocations: 12.62 kB / 1.319 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.8375, allocations: 141.6 kB / 1.319 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000544/0.838, allocations: 207.4 kB / 1.32 GB, free: 13.97 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.8398, allocations: 1.113 MB / 1.321 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.8399, allocations: 67.06 kB / 1.321 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.84, allocations: 87.06 kB / 1.321 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.8417, allocations: 1.007 MB / 1.322 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.8417, allocations: 14.31 kB / 1.322 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.582e-05/0.8418, allocations: 37.47 kB / 1.322 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.8419, allocations: 21.94 kB / 1.322 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.8433, allocations: 0.6442 MB / 1.323 GB, free: 12.47 MB / 1.045 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.005106/0.8484, allocations: 4.737 MB / 1.327 GB, free: 8.77 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.8495, allocations: 405.9 kB / 1.328 GB, free: 8.625 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/0.85, allocations: 217.2 kB / 1.328 GB, free: 8.559 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009383/0.8509, allocations: 1.147 MB / 1.329 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.8509, allocations: 38.08 kB / 1.329 GB, free: 7.188 MB / 1.045 GB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.8509, allocations: 0 / 1.329 GB, free: 7.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=29): time 0.002665/0.8536, allocations: 1.077 MB / 1.33 GB, free: 6.625 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.8537, allocations: 59.47 kB / 1.33 GB, free: 6.559 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.8548, allocations: 0.9799 MB / 1.331 GB, free: 6.16 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.8549, allocations: 32.39 kB / 1.331 GB, free: 6.125 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004703/0.8553, allocations: 0.5969 MB / 1.332 GB, free: 5.652 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.8554, allocations: 108.4 kB / 1.332 GB, free: 5.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.8556, allocations: 111 kB / 1.332 GB, free: 5.512 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8557, allocations: 329.8 kB / 1.332 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.8562, allocations: 193.8 kB / 1.332 GB, free: 5.148 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.8569, allocations: 413 kB / 1.333 GB, free: 4.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.8581, allocations: 0.6021 MB / 1.333 GB, free: 4.438 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.8581, allocations: 2.844 kB / 1.333 GB, free: 4.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001536/0.8596, allocations: 0.756 MB / 1.334 GB, free: 4.133 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.8596, allocations: 7.844 kB / 1.334 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.8597, allocations: 10.41 kB / 1.334 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/0.8603, allocations: 152.7 kB / 1.334 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.8608, allocations: 153.4 kB / 1.334 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.862, allocations: 1.721 MB / 1.336 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.8626, allocations: 86.98 kB / 1.336 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.8627, allocations: 29.91 kB / 1.336 GB, free: 2.375 MB / 1.045 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.0003685/0.8631, allocations: 273.6 kB / 1.336 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.8632, allocations: 112.2 kB / 1.337 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.8649, allocations: 0.7201 MB / 1.337 GB, free: 1.828 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.8649, allocations: 9.156 kB / 1.337 GB, free: 1.824 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.8649, allocations: 8 kB / 1.337 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.8649, allocations: 2.203 kB / 1.337 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.8676, allocations: 1.636 MB / 1.339 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.8677, allocations: 1.938 kB / 1.339 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.8681, allocations: 96.45 kB / 1.339 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005041/0.8686, allocations: 146.4 kB / 1.339 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.8686, allocations: 22.52 kB / 1.339 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.8697, allocations: 1.702 MB / 1.341 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8697, allocations: 6.25 kB / 1.341 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.8712, allocations: 0.785 MB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.8716, allocations: 251.3 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.8717, allocations: 12.41 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/0.8722, allocations: 47.41 kB / 1.342 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.8723, allocations: 30.42 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.8724, allocations: 21.84 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008192/0.8732, allocations: 0.6627 MB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8732, allocations: 0 / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001002/0.8742, allocations: 382.2 kB / 1.343 GB, free: 14.27 MB / 1.061 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.002441/0.8766, allocations: 1.625 MB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.8781, allocations: 0.5553 MB / 1.345 GB, free: 13.06 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8781, allocations: 1.312 kB / 1.345 GB, free: 13.06 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007502/0.8788, allocations: 289.7 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.8809, allocations: 0.5179 MB / 1.346 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00998/0.8909, allocations: 7.338 MB / 1.353 GB, free: 8.695 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/0.8916, allocations: 1.103 MB / 1.354 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005748/0.8922, allocations: 182.3 kB / 1.354 GB, free: 7.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/0.8927, allocations: 427.7 kB / 1.355 GB, free: 7.367 MB / 1.061 GB Notification: Performance of SimCode: time 2.41e-07/0.8927, allocations: 0 / 1.355 GB, free: 7.367 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.065/2.957, allocations: 29.51 MB / 1.383 GB, free: 5.312 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/18.83, allocations: 10.94 kB / 1.383 GB, free: 5.309 MB / 1.076 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches