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.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.001138/0.001138, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001276/0.001276, allocations: 219.5 kB / 23.05 MB, free: 5.074 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.315/1.315, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.928/2.928, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="cs",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.001849/0.001849, allocations: 70.83 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2971, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2436/0.5407, allocations: 226.4 MB / 1.566 GB, free: 13.19 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01931/0.56, allocations: 13.89 MB / 1.58 GB, free: 15.27 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.5622, allocations: 91.25 kB / 1.58 GB, free: 15.18 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.5642, allocations: 0.8386 MB / 1.581 GB, free: 14.33 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.005456/0.5697, allocations: 2.275 MB / 1.583 GB, free: 12.05 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.5725, allocations: 1.236 MB / 1.584 GB, free: 10.82 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.003773/0.5763, allocations: 2.94 MB / 1.587 GB, free: 7.871 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.5776, allocations: 0.9295 MB / 1.588 GB, free: 6.918 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005749/0.5834, allocations: 2.734 MB / 1.591 GB, free: 4.18 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002106/0.5855, allocations: 1.087 MB / 1.592 GB, free: 3.109 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.5856, allocations: 100 kB / 1.592 GB, free: 3.012 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.5885, allocations: 1.672 MB / 1.594 GB, free: 1.336 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0004332/0.589, allocations: 450.4 kB / 1.594 GB, free: 0.8945 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0006958/0.5897, allocations: 0.6802 MB / 1.595 GB, free: 216 kB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.5924, allocations: 2.09 MB / 1.597 GB, free: 14.11 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.5924, allocations: 0 / 1.597 GB, free: 14.11 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5924, allocations: 4 kB / 1.597 GB, free: 14.11 MB / 1.295 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.5924, allocations: 0 / 1.597 GB, free: 14.11 MB / 1.295 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.002424/0.5948, allocations: 1.604 MB / 1.598 GB, free: 12.47 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5948, allocations: 12.02 kB / 1.598 GB, free: 12.46 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.113e-05/0.5949, allocations: 26 kB / 1.598 GB, free: 12.43 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.595, allocations: 143.5 kB / 1.598 GB, free: 12.28 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.5971, allocations: 434.6 kB / 1.599 GB, free: 11.86 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.5986, allocations: 0.8731 MB / 1.6 GB, free: 10.95 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.5987, allocations: 73.98 kB / 1.6 GB, free: 10.88 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.5988, allocations: 91.98 kB / 1.6 GB, free: 10.79 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.6008, allocations: 1.223 MB / 1.601 GB, free: 9.445 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.6008, allocations: 7.938 kB / 1.601 GB, free: 9.438 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/0.6009, allocations: 40 kB / 1.601 GB, free: 9.398 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-05/0.601, allocations: 37.3 kB / 1.601 GB, free: 9.363 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.6028, allocations: 0.883 MB / 1.602 GB, free: 8.48 MB / 1.295 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.006655/0.6095, allocations: 6.17 MB / 1.608 GB, free: 1.969 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.6099, allocations: 255.7 kB / 1.608 GB, free: 1.664 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.6101, allocations: 153 kB / 1.608 GB, free: 1.496 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.6102, allocations: 19.98 kB / 1.608 GB, free: 1.477 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.6103, allocations: 38.56 kB / 1.609 GB, free: 1.43 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006699/0.6109, allocations: 139.3 kB / 1.609 GB, free: 1.293 MB / 1.295 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.6109, allocations: 0 / 1.609 GB, free: 1.293 MB / 1.295 GB Notification: Performance of matching and sorting (n=20): time 0.001143/0.6121, allocations: 485 kB / 1.609 GB, free: 0.8125 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.6122, allocations: 183.9 kB / 1.609 GB, free: 0.5898 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5538/1.166, allocations: 1.309 MB / 1.611 GB, free: 267.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 6.831e-05/1.166, allocations: 32.45 kB / 1.611 GB, free: 267.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/1.166, allocations: 0.6359 MB / 1.611 GB, free: 267.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/1.167, allocations: 80.28 kB / 1.611 GB, free: 267.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/1.167, allocations: 142 kB / 1.611 GB, free: 267.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.199e-05/1.167, allocations: 327.5 kB / 1.612 GB, free: 266.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/1.167, allocations: 238.5 kB / 1.612 GB, free: 266.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007701/1.168, allocations: 0.552 MB / 1.612 GB, free: 266.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009805/1.169, allocations: 0.6965 MB / 1.613 GB, free: 265.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.169, allocations: 3.422 kB / 1.613 GB, free: 265.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001875/1.171, allocations: 0.8556 MB / 1.614 GB, free: 265.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.171, allocations: 9.688 kB / 1.614 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.171, allocations: 10.95 kB / 1.614 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/1.171, allocations: 14.19 kB / 1.614 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/1.172, allocations: 171.9 kB / 1.614 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/1.172, allocations: 23.91 kB / 1.614 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/1.173, allocations: 129.1 kB / 1.614 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/1.173, allocations: 37.34 kB / 1.614 GB, free: 265.4 MB / 1.295 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.000381/1.174, allocations: 301.7 kB / 1.615 GB, free: 265.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/1.174, allocations: 126 kB / 1.615 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/1.174, allocations: 287 kB / 1.615 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.174, allocations: 3.344 kB / 1.615 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.174, allocations: 5.75 kB / 1.615 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.174, allocations: 3.016 kB / 1.615 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/1.176, allocations: 1.651 MB / 1.617 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.176, allocations: 3.469 kB / 1.617 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/1.176, allocations: 37.75 kB / 1.617 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.176, allocations: 4.125 kB / 1.617 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/1.176, allocations: 8.531 kB / 1.617 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.176, allocations: 4.453 kB / 1.617 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.176, allocations: 12.33 kB / 1.617 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/1.177, allocations: 0.4977 MB / 1.617 GB, free: 263.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/1.177, allocations: 164.8 kB / 1.617 GB, free: 263.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/1.177, allocations: 9.203 kB / 1.617 GB, free: 263.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006744/1.178, allocations: 44.8 kB / 1.617 GB, free: 263.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/1.178, allocations: 25.12 kB / 1.617 GB, free: 263.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/1.178, allocations: 18.12 kB / 1.618 GB, free: 263.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001454/1.18, allocations: 0.9094 MB / 1.618 GB, free: 263.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/1.18, allocations: 3.828 kB / 1.618 GB, free: 263.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009423/1.18, allocations: 281.6 kB / 1.619 GB, free: 263.1 MB / 1.295 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.0008629/1.181, allocations: 1.125 MB / 1.62 GB, free: 262.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009545/1.182, allocations: 450.7 kB / 1.62 GB, free: 262.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.182, allocations: 1.062 kB / 1.62 GB, free: 262.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/1.182, allocations: 95.97 kB / 1.62 GB, free: 262.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/1.185, allocations: 0.5796 MB / 1.621 GB, free: 261.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.196, allocations: 8.143 MB / 1.629 GB, free: 257.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/1.196, allocations: 1.112 MB / 1.63 GB, free: 256.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008015/1.197, allocations: 241.9 kB / 1.63 GB, free: 256.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/1.198, allocations: 413.2 kB / 1.631 GB, free: 256.5 MB / 1.295 GB Notification: Performance of SimCode: time 8.91e-07/1.198, allocations: 0 / 1.631 GB, free: 256.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05129/1.249, allocations: 28.12 MB / 1.658 GB, free: 243.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.11, allocations: 9.422 kB / 1.658 GB, free: 243.5 MB / 1.295 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.29630221502157]