Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_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.001074/0.001073, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.508/2.508, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.73 kB / 0.8992 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2316, allocations: 157.4 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.6414/0.8731, allocations: 221.9 MB / 1.27 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01524/0.8883, allocations: 13.76 MB / 1.283 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.8906, allocations: 69.12 kB / 1.283 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.8925, allocations: 0.8066 MB / 1.284 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004762/0.8973, allocations: 2.164 MB / 1.286 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.9001, allocations: 1.167 MB / 1.287 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003911/0.904, allocations: 2.888 MB / 1.29 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.9054, allocations: 1.197 MB / 1.291 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004923/0.9104, allocations: 2.434 MB / 1.293 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.9123, allocations: 1.021 MB / 1.294 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.9125, allocations: 101.6 kB / 1.295 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.9153, allocations: 1.584 MB / 1.296 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.9157, allocations: 431.3 kB / 1.297 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007173/0.9164, allocations: 0.6816 MB / 1.297 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002327/0.9188, allocations: 2.038 MB / 1.299 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.9188, allocations: 1.062 kB / 1.299 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9188, allocations: 0 / 1.299 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.9188, allocations: 0 / 1.299 GB, free: 1.785 MB / 0.9981 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.002237/0.9211, allocations: 1.653 MB / 1.301 GB, free: 16.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.9211, allocations: 10.91 kB / 1.301 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/0.9213, allocations: 140.3 kB / 1.301 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.9233, allocations: 431.4 kB / 1.301 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.9245, allocations: 0.8952 MB / 1.302 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009004/0.9254, allocations: 234.6 kB / 1.302 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.9255, allocations: 94.95 kB / 1.303 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.9273, allocations: 1.239 MB / 1.304 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.9274, allocations: 5.469 kB / 1.304 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.997e-05/0.9274, allocations: 40.34 kB / 1.304 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.9275, allocations: 31.75 kB / 1.304 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.9294, allocations: 0.8996 MB / 1.305 GB, free: 16.07 MB / 1.014 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.006323/0.9357, allocations: 6.093 MB / 1.311 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.9361, allocations: 257.7 kB / 1.311 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.9363, allocations: 149.5 kB / 1.311 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.9365, allocations: 96.86 kB / 1.311 GB, free: 11.87 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.9366, allocations: 47.81 kB / 1.311 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007435/0.9373, allocations: 110.7 kB / 1.311 GB, free: 11.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 2.495e-06/0.9373, allocations: 0 / 1.311 GB, free: 11.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001117/0.9384, allocations: 475 kB / 1.312 GB, free: 11.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.9385, allocations: 186.5 kB / 1.312 GB, free: 11.47 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.9403, allocations: 1.323 MB / 1.313 GB, free: 11.29 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.9403, allocations: 31.77 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/0.9407, allocations: 0.6276 MB / 1.314 GB, free: 11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.341e-05/0.9408, allocations: 75.44 kB / 1.314 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.941, allocations: 141.4 kB / 1.314 GB, free: 10.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.9411, allocations: 331.6 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006511/0.9417, allocations: 255.5 kB / 1.315 GB, free: 10.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008681/0.9426, allocations: 0.5608 MB / 1.315 GB, free: 10.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.9436, allocations: 0.7141 MB / 1.316 GB, free: 9.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.9437, allocations: 3.5 kB / 1.316 GB, free: 9.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001823/0.9455, allocations: 0.8797 MB / 1.317 GB, free: 9.707 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.9455, allocations: 9.875 kB / 1.317 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.9455, allocations: 10 kB / 1.317 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.9456, allocations: 18.09 kB / 1.317 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006953/0.9463, allocations: 181 kB / 1.317 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.9463, allocations: 15.56 kB / 1.317 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.9477, allocations: 150.6 kB / 1.317 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.9477, allocations: 39.86 kB / 1.317 GB, free: 9.688 MB / 1.014 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.0003294/0.9481, allocations: 303 kB / 1.317 GB, free: 9.562 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.9483, allocations: 126.7 kB / 1.318 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/0.9487, allocations: 278.2 kB / 1.318 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.9487, allocations: 2.75 kB / 1.318 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9487, allocations: 2.75 kB / 1.318 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.9487, allocations: 4.281 kB / 1.318 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.9505, allocations: 1.683 MB / 1.319 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.9505, allocations: 3.406 kB / 1.319 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.9507, allocations: 35.61 kB / 1.319 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.9508, allocations: 5.594 kB / 1.32 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.9508, allocations: 17.22 kB / 1.32 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.9508, allocations: 2.25 kB / 1.32 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9508, allocations: 4.75 kB / 1.32 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.9512, allocations: 0.4937 MB / 1.32 GB, free: 8.344 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.9515, allocations: 241.5 kB / 1.32 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.9517, allocations: 9.125 kB / 1.32 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007254/0.9524, allocations: 61.98 kB / 1.32 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.9525, allocations: 27.12 kB / 1.32 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.9525, allocations: 6.844 kB / 1.32 GB, free: 8.168 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001232/0.9537, allocations: 0.9294 MB / 1.321 GB, free: 8.051 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9537, allocations: 0 / 1.321 GB, free: 8.051 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007663/0.9545, allocations: 275.7 kB / 1.322 GB, free: 8.027 MB / 1.014 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.0009363/0.9554, allocations: 1.132 MB / 1.323 GB, free: 7.188 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009438/0.9564, allocations: 474.3 kB / 1.323 GB, free: 7.176 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.9564, allocations: 0 / 1.323 GB, free: 7.176 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.9565, allocations: 107.6 kB / 1.323 GB, free: 7.172 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.9589, allocations: 0.5884 MB / 1.324 GB, free: 7.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.9692, allocations: 8.757 MB / 1.332 GB, free: 3.184 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.9698, allocations: 1.116 MB / 1.333 GB, free: 2.465 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008028/0.9706, allocations: 247.8 kB / 1.334 GB, free: 2.402 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.971, allocations: 412.6 kB / 1.334 GB, free: 2.395 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.971, allocations: 0 / 1.334 GB, free: 2.395 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.181/4.152, allocations: 27.37 MB / 1.361 GB, free: 9.418 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/18.48, allocations: 19.47 kB / 1.361 GB, free: 9.402 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches