Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_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.001512/0.001512, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001805/0.001805, allocations: 192.3 kB / 16.14 MB, free: 6.719 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.355/1.355, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.2 MB / 0.6643 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.5154, allocations: 140.4 MB / 0.949 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.03999/0.5555, allocations: 49.46 MB / 0.9973 GB, free: 500 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.5721, allocations: 12.72 MB / 1.01 GB, free: 3.742 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003905/0.5761, allocations: 67.56 kB / 1.01 GB, free: 3.676 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.5781, allocations: 0.6213 MB / 1.01 GB, free: 3.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004208/0.5823, allocations: 1.703 MB / 1.012 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.5853, allocations: 1.203 MB / 1.013 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004538/0.5899, allocations: 4.368 MB / 1.018 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.5913, allocations: 1.076 MB / 1.019 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.5931, allocations: 1.108 MB / 1.02 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.5942, allocations: 0.9602 MB / 1.021 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.5943, allocations: 60 kB / 1.021 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.5965, allocations: 1.056 MB / 1.022 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.5967, allocations: 254.8 kB / 1.022 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006572/0.5974, allocations: 0.6371 MB / 1.023 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.5995, allocations: 1.916 MB / 1.024 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5995, allocations: 0 / 1.024 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.12e-07/0.5995, allocations: 0 / 1.024 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.5995, allocations: 0 / 1.024 GB, free: 4.656 MB / 0.7794 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.002353/0.6019, allocations: 1.693 MB / 1.026 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.6019, allocations: 11.97 kB / 1.026 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.6021, allocations: 135.4 kB / 1.026 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005605/0.6027, allocations: 211 kB / 1.026 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.6044, allocations: 1.092 MB / 1.027 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/0.6048, allocations: 126 kB / 1.028 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.617e-05/0.6049, allocations: 88 kB / 1.028 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.6065, allocations: 0.9883 MB / 1.029 GB, free: 144 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.6066, allocations: 3.984 kB / 1.029 GB, free: 140 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/0.6066, allocations: 40 kB / 1.029 GB, free: 100 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.6067, allocations: 20 kB / 1.029 GB, free: 80 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.6081, allocations: 0.6594 MB / 1.029 GB, free: 15.41 MB / 0.795 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.004594/0.6127, allocations: 4.408 MB / 1.034 GB, free: 10.75 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.6139, allocations: 422.4 kB / 1.034 GB, free: 10.33 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.6145, allocations: 216.7 kB / 1.034 GB, free: 10.11 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008407/0.6153, allocations: 1.148 MB / 1.035 GB, free: 8.707 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.6153, allocations: 42.5 kB / 1.035 GB, free: 8.656 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 2.003e-06/0.6154, allocations: 0 / 1.035 GB, free: 8.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.002812/0.6182, allocations: 1.092 MB / 1.037 GB, free: 7.492 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.6182, allocations: 59.39 kB / 1.037 GB, free: 7.422 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.6192, allocations: 0.9356 MB / 1.037 GB, free: 6.473 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.6193, allocations: 29.7 kB / 1.038 GB, free: 6.438 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/0.6197, allocations: 0.5851 MB / 1.038 GB, free: 5.848 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.63e-05/0.6198, allocations: 98.64 kB / 1.038 GB, free: 5.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.6199, allocations: 106 kB / 1.038 GB, free: 5.641 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.62, allocations: 329.9 kB / 1.039 GB, free: 5.312 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.6206, allocations: 204.9 kB / 1.039 GB, free: 5.109 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/0.6212, allocations: 378.9 kB / 1.039 GB, free: 4.664 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.6223, allocations: 0.5731 MB / 1.04 GB, free: 4.016 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6224, allocations: 0 / 1.04 GB, free: 4.016 MB / 0.795 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00147/0.6238, allocations: 0.7288 MB / 1.04 GB, free: 3.27 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6239, allocations: 8 kB / 1.04 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6239, allocations: 4 kB / 1.04 GB, free: 3.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006642/0.6245, allocations: 166.9 kB / 1.041 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.6251, allocations: 139.8 kB / 1.041 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009776/0.6261, allocations: 1.716 MB / 1.042 GB, free: 1.156 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.6268, allocations: 107.4 kB / 1.042 GB, free: 1.051 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.6268, allocations: 27.98 kB / 1.043 GB, free: 1.023 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0003477/0.6272, allocations: 270.1 kB / 1.043 GB, free: 0.75 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.6273, allocations: 106.6 kB / 1.043 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.629, allocations: 0.7269 MB / 1.044 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.6291, allocations: 12.11 kB / 1.044 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6291, allocations: 0 / 1.044 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6291, allocations: 7.922 kB / 1.044 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.6317, allocations: 1.628 MB / 1.045 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.6317, allocations: 4 kB / 1.045 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.6322, allocations: 92.03 kB / 1.045 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005219/0.6327, allocations: 154.4 kB / 1.045 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.6327, allocations: 8 kB / 1.045 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.6337, allocations: 1.712 MB / 1.047 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6338, allocations: 4.031 kB / 1.047 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.6352, allocations: 0.7763 MB / 1.048 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.6355, allocations: 247.6 kB / 1.048 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.6356, allocations: 12 kB / 1.048 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/0.6362, allocations: 75.89 kB / 1.048 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.6363, allocations: 35.83 kB / 1.048 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.6363, allocations: 23.98 kB / 1.048 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007137/0.6371, allocations: 0.6264 MB / 1.049 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6371, allocations: 11.88 kB / 1.049 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008385/0.6379, allocations: 363.1 kB / 1.049 GB, free: 9.891 MB / 0.8106 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.002319/0.6402, allocations: 1.612 MB / 1.051 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.6416, allocations: 0.5359 MB / 1.051 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6417, allocations: 8 kB / 1.051 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.6424, allocations: 295.9 kB / 1.052 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.6445, allocations: 0.4982 MB / 1.052 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.6548, allocations: 7.95 MB / 1.06 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.6553, allocations: 1.103 MB / 1.061 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006165/0.656, allocations: 183.9 kB / 1.061 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004331/0.6564, allocations: 415.3 kB / 1.062 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.6564, allocations: 0 / 1.062 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.824/1.48, allocations: 27.49 MB / 1.088 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005046/1.481, allocations: 281.4 kB / 1.089 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/4.015, allocations: 0 / 1.089 GB, free: 1.359 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches