Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.006868/0.006868, allocations: 105.9 kB / 15.73 MB, free: 6 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.001836/0.001836, allocations: 189 kB / 16.67 MB, free: 5.926 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.159/2.159, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 71.89 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6804, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2191/0.8996, allocations: 221.9 MB / 1.304 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.9163, allocations: 13.77 MB / 1.318 GB, free: 1.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.9183, allocations: 67.62 kB / 1.318 GB, free: 1.863 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.9201, allocations: 0.7957 MB / 1.318 GB, free: 1.062 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004636/0.9248, allocations: 2.162 MB / 1.321 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.9273, allocations: 1.188 MB / 1.322 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002895/0.9303, allocations: 2.894 MB / 1.325 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.9317, allocations: 1.183 MB / 1.326 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.9365, allocations: 2.452 MB / 1.328 GB, free: 7.148 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.9383, allocations: 1.018 MB / 1.329 GB, free: 6.145 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.9385, allocations: 100 kB / 1.329 GB, free: 6.047 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.9409, allocations: 1.586 MB / 1.331 GB, free: 4.457 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.9413, allocations: 438.6 kB / 1.331 GB, free: 4.027 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007089/0.942, allocations: 0.6801 MB / 1.332 GB, free: 3.344 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.9443, allocations: 2.076 MB / 1.334 GB, free: 1.262 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.9443, allocations: 0 / 1.334 GB, free: 1.262 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.163e-06/0.9443, allocations: 0 / 1.334 GB, free: 1.262 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.067e-05/0.9443, allocations: 0 / 1.334 GB, free: 1.262 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.00243/0.9468, allocations: 1.646 MB / 1.335 GB, free: 15.56 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.9468, allocations: 8.031 kB / 1.335 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.947, allocations: 147.5 kB / 1.336 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.9491, allocations: 437.8 kB / 1.336 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.9505, allocations: 0.9442 MB / 1.337 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.9505, allocations: 69.94 kB / 1.337 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.9507, allocations: 91.98 kB / 1.337 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.9525, allocations: 1.215 MB / 1.338 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.9525, allocations: 7.938 kB / 1.338 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.9526, allocations: 40 kB / 1.338 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.01e-05/0.9527, allocations: 37.3 kB / 1.338 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.9545, allocations: 0.875 MB / 1.339 GB, free: 11.54 MB / 1.076 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.006135/0.9607, allocations: 6.02 MB / 1.345 GB, free: 5.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.9611, allocations: 263.7 kB / 1.345 GB, free: 4.918 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.9613, allocations: 141 kB / 1.346 GB, free: 4.762 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.9614, allocations: 97.09 kB / 1.346 GB, free: 4.648 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.9614, allocations: 42.56 kB / 1.346 GB, free: 4.598 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005832/0.962, allocations: 119.1 kB / 1.346 GB, free: 4.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 2.184e-06/0.962, allocations: 0 / 1.346 GB, free: 4.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.001094/0.9631, allocations: 476.1 kB / 1.346 GB, free: 4.008 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.9632, allocations: 191.8 kB / 1.346 GB, free: 3.777 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.965, allocations: 1.307 MB / 1.348 GB, free: 2.453 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.965, allocations: 33.69 kB / 1.348 GB, free: 2.414 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.9654, allocations: 0.6242 MB / 1.348 GB, free: 1.781 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.246e-05/0.9655, allocations: 78.94 kB / 1.348 GB, free: 1.703 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.9657, allocations: 134 kB / 1.349 GB, free: 1.562 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.9658, allocations: 326 kB / 1.349 GB, free: 1.238 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/0.9664, allocations: 236.9 kB / 1.349 GB, free: 1.008 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008236/0.9672, allocations: 0.5597 MB / 1.35 GB, free: 304 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.9683, allocations: 0.6882 MB / 1.35 GB, free: 15.47 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.9683, allocations: 4 kB / 1.35 GB, free: 15.46 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001785/0.9701, allocations: 0.8576 MB / 1.351 GB, free: 14.6 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.9701, allocations: 8 kB / 1.351 GB, free: 14.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.9702, allocations: 12 kB / 1.351 GB, free: 14.58 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.9702, allocations: 12 kB / 1.351 GB, free: 14.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.9709, allocations: 172.2 kB / 1.351 GB, free: 14.4 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.9709, allocations: 19.94 kB / 1.351 GB, free: 14.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.9721, allocations: 136.8 kB / 1.351 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.9721, allocations: 39.98 kB / 1.351 GB, free: 14.21 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003381/0.9725, allocations: 301.5 kB / 1.352 GB, free: 13.91 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.9727, allocations: 118.6 kB / 1.352 GB, free: 13.79 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.9731, allocations: 292.2 kB / 1.352 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.9732, allocations: 7.938 kB / 1.352 GB, free: 13.49 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9732, allocations: 4 kB / 1.352 GB, free: 13.48 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.9732, allocations: 3.938 kB / 1.352 GB, free: 13.48 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.9751, allocations: 1.67 MB / 1.354 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.9751, allocations: 4 kB / 1.354 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.9753, allocations: 44.28 kB / 1.354 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.9753, allocations: 8 kB / 1.354 GB, free: 11.65 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.9753, allocations: 4 kB / 1.354 GB, free: 11.65 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.9753, allocations: 4 kB / 1.354 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.9754, allocations: 7.938 kB / 1.354 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.9758, allocations: 498.3 kB / 1.354 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.9762, allocations: 243.5 kB / 1.355 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.9763, allocations: 4 kB / 1.355 GB, free: 10.83 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/0.977, allocations: 47.94 kB / 1.355 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.9771, allocations: 23.92 kB / 1.355 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.9771, allocations: 8 kB / 1.355 GB, free: 10.75 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001352/0.9784, allocations: 0.9159 MB / 1.356 GB, free: 9.836 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9785, allocations: 0 / 1.356 GB, free: 9.836 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007597/0.9792, allocations: 283.5 kB / 1.356 GB, free: 9.559 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009755/0.9802, allocations: 1.137 MB / 1.357 GB, free: 8.371 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009665/0.9812, allocations: 461.7 kB / 1.357 GB, free: 7.922 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9812, allocations: 4.25 kB / 1.357 GB, free: 7.918 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.9813, allocations: 99.81 kB / 1.357 GB, free: 7.82 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.9838, allocations: 0.5822 MB / 1.358 GB, free: 7.25 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.9946, allocations: 8.096 MB / 1.366 GB, free: 14.68 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006198/0.9953, allocations: 1.122 MB / 1.367 GB, free: 13.52 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006704/0.9959, allocations: 237.6 kB / 1.367 GB, free: 13.29 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/0.9964, allocations: 411.3 kB / 1.368 GB, free: 12.89 MB / 1.107 GB Notification: Performance of SimCode: time 4.81e-07/0.9964, allocations: 0 / 1.368 GB, free: 12.89 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.958/2.954, allocations: 27.55 MB / 1.395 GB, free: 1.812 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/18.57, allocations: 6.5 kB / 1.395 GB, free: 1.812 MB / 1.123 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches