Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.001247/0.001247, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.001414/0.001414, allocations: 219 kB / 22.25 MB, free: 5.258 MB / 14.72 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 1.347/1.347, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.897/2.897, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 66.72 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3149, allocations: 176.1 MB / 1.326 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2304/0.5454, allocations: 196.8 MB / 1.518 GB, free: 11.88 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.5645, allocations: 12.83 MB / 1.531 GB, free: 15.02 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.5664, allocations: 83.31 kB / 1.531 GB, free: 14.94 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.5685, allocations: 0.7918 MB / 1.531 GB, free: 14.14 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005761/0.5742, allocations: 2.249 MB / 1.534 GB, free: 11.88 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003325/0.5775, allocations: 1.216 MB / 1.535 GB, free: 10.67 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004314/0.5819, allocations: 2.939 MB / 1.538 GB, free: 7.723 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.5832, allocations: 0.9256 MB / 1.539 GB, free: 6.77 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006363/0.5896, allocations: 2.705 MB / 1.541 GB, free: 4.062 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.5921, allocations: 1.069 MB / 1.542 GB, free: 3.004 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.5923, allocations: 100 kB / 1.542 GB, free: 2.906 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.595, allocations: 1.321 MB / 1.544 GB, free: 1.582 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004856/0.5955, allocations: 446.4 kB / 1.544 GB, free: 1.145 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007225/0.5962, allocations: 0.5598 MB / 1.545 GB, free: 0.582 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.5991, allocations: 2.059 MB / 1.547 GB, free: 14.52 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5991, allocations: 4 kB / 1.547 GB, free: 14.51 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5991, allocations: 0 / 1.547 GB, free: 14.51 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.045e-05/0.5991, allocations: 0 / 1.547 GB, free: 14.51 MB / 1.248 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.002576/0.6017, allocations: 1.612 MB / 1.548 GB, free: 12.86 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.6017, allocations: 8.031 kB / 1.548 GB, free: 12.85 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.6019, allocations: 139.6 kB / 1.548 GB, free: 12.71 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.6041, allocations: 438.7 kB / 1.549 GB, free: 12.28 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.6057, allocations: 0.8653 MB / 1.55 GB, free: 11.38 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/0.6058, allocations: 82 kB / 1.55 GB, free: 11.3 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.6059, allocations: 88 kB / 1.55 GB, free: 11.21 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.6081, allocations: 1.306 MB / 1.551 GB, free: 9.766 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.6081, allocations: 7.938 kB / 1.551 GB, free: 9.758 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.788e-05/0.6082, allocations: 40 kB / 1.551 GB, free: 9.719 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.532e-05/0.6083, allocations: 29.31 kB / 1.551 GB, free: 9.691 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.6102, allocations: 0.883 MB / 1.552 GB, free: 8.809 MB / 1.248 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.007145/0.6173, allocations: 5.369 MB / 1.557 GB, free: 3.242 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.6178, allocations: 247.7 kB / 1.558 GB, free: 2.945 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.618, allocations: 149 kB / 1.558 GB, free: 2.781 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.6181, allocations: 27.92 kB / 1.558 GB, free: 2.754 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.6182, allocations: 38.5 kB / 1.558 GB, free: 2.707 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008026/0.619, allocations: 135.3 kB / 1.558 GB, free: 2.574 MB / 1.248 GB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.619, allocations: 4 kB / 1.558 GB, free: 2.57 MB / 1.248 GB Notification: Performance of matching and sorting (n=20): time 0.001209/0.6202, allocations: 476.7 kB / 1.558 GB, free: 2.098 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.6203, allocations: 187.9 kB / 1.558 GB, free: 1.871 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.6222, allocations: 1.331 MB / 1.56 GB, free: 0.5234 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.6222, allocations: 33.7 kB / 1.56 GB, free: 496 kB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000528/0.6228, allocations: 0.6334 MB / 1.56 GB, free: 15.85 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.6229, allocations: 75.42 kB / 1.561 GB, free: 15.77 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.6231, allocations: 146.2 kB / 1.561 GB, free: 15.62 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6232, allocations: 326 kB / 1.561 GB, free: 15.3 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006129/0.6239, allocations: 237.1 kB / 1.561 GB, free: 15.07 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009798/0.6248, allocations: 0.7325 MB / 1.562 GB, free: 14.14 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.6259, allocations: 0.6968 MB / 1.563 GB, free: 13.31 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.6259, allocations: 0 / 1.563 GB, free: 13.31 MB / 1.264 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001831/0.6278, allocations: 0.8593 MB / 1.563 GB, free: 12.44 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6278, allocations: 10.03 kB / 1.563 GB, free: 12.43 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.6278, allocations: 12.91 kB / 1.563 GB, free: 12.42 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.6278, allocations: 12 kB / 1.563 GB, free: 12.41 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/0.6286, allocations: 175.7 kB / 1.564 GB, free: 12.24 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.6286, allocations: 15.94 kB / 1.564 GB, free: 12.22 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.6298, allocations: 131.8 kB / 1.564 GB, free: 12.09 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.6299, allocations: 35.98 kB / 1.564 GB, free: 12.06 MB / 1.264 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.0004247/0.6303, allocations: 301.5 kB / 1.564 GB, free: 11.75 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.6305, allocations: 127.2 kB / 1.564 GB, free: 11.63 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005059/0.6311, allocations: 292.3 kB / 1.564 GB, free: 11.33 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6311, allocations: 0 / 1.564 GB, free: 11.33 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6311, allocations: 4 kB / 1.564 GB, free: 11.33 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.6311, allocations: 3.938 kB / 1.565 GB, free: 11.32 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.6333, allocations: 1.545 MB / 1.566 GB, free: 9.684 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6333, allocations: 4 kB / 1.566 GB, free: 9.68 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.6335, allocations: 35.92 kB / 1.566 GB, free: 9.645 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.6335, allocations: 4 kB / 1.566 GB, free: 9.641 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.6335, allocations: 16 kB / 1.566 GB, free: 9.625 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.6335, allocations: 7.938 kB / 1.566 GB, free: 9.617 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6335, allocations: 240 / 1.566 GB, free: 9.617 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.6341, allocations: 0.5011 MB / 1.567 GB, free: 9.062 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.6345, allocations: 171 kB / 1.567 GB, free: 8.895 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.6346, allocations: 12 kB / 1.567 GB, free: 8.883 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006943/0.6353, allocations: 47.94 kB / 1.567 GB, free: 8.836 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.6354, allocations: 27.8 kB / 1.567 GB, free: 8.809 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.6354, allocations: 19.92 kB / 1.567 GB, free: 8.789 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001448/0.6369, allocations: 0.9081 MB / 1.568 GB, free: 7.879 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6369, allocations: 0 / 1.568 GB, free: 7.879 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008615/0.6377, allocations: 283.6 kB / 1.568 GB, free: 7.602 MB / 1.264 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.00123/0.639, allocations: 1.125 MB / 1.569 GB, free: 6.418 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.64, allocations: 448 kB / 1.57 GB, free: 5.984 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.64, allocations: 192 / 1.57 GB, free: 5.984 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.6401, allocations: 99.77 kB / 1.57 GB, free: 5.887 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.6425, allocations: 0.5843 MB / 1.57 GB, free: 5.312 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.655, allocations: 8.137 MB / 1.578 GB, free: 12.7 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.6556, allocations: 0.5278 MB / 1.579 GB, free: 12.13 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008214/0.6564, allocations: 229.6 kB / 1.579 GB, free: 11.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000628/0.657, allocations: 415.3 kB / 1.579 GB, free: 11.5 MB / 1.279 GB Notification: Performance of SimCode: time 1.282e-06/0.657, allocations: 0 / 1.579 GB, free: 11.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6945/1.352, allocations: 30.59 MB / 1.609 GB, free: 69.97 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.58, allocations: 12.56 kB / 1.609 GB, free: 69.97 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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: 18.6059975970129]