Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 109.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.067/3.067, allocations: 497.2 MB / 0.7811 GB, free: 33.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 60.59 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3129, allocations: 173.9 MB / 1.304 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2569/0.5698, allocations: 222 MB / 1.521 GB, free: 2.641 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.5802, allocations: 5.748 MB / 1.526 GB, free: 12.88 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.5816, allocations: 43.75 kB / 1.526 GB, free: 12.84 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.5835, allocations: 0.6137 MB / 1.527 GB, free: 12.22 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005414/0.5889, allocations: 1.91 MB / 1.529 GB, free: 10.3 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003332/0.5923, allocations: 1.21 MB / 1.53 GB, free: 9.098 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004174/0.5964, allocations: 2.948 MB / 1.533 GB, free: 6.141 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.5979, allocations: 0.8666 MB / 1.534 GB, free: 5.254 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.6005, allocations: 1.304 MB / 1.535 GB, free: 3.945 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/0.6028, allocations: 0.9925 MB / 1.536 GB, free: 2.961 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000283/0.6031, allocations: 108 kB / 1.536 GB, free: 2.855 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003029/0.6061, allocations: 1.496 MB / 1.538 GB, free: 1.355 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006179/0.6068, allocations: 478.6 kB / 1.538 GB, free: 0.8867 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.6079, allocations: 0.6611 MB / 1.539 GB, free: 228 kB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003574/0.6114, allocations: 2.137 MB / 1.541 GB, free: 14.08 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6115, allocations: 0 / 1.541 GB, free: 14.08 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6115, allocations: 0 / 1.541 GB, free: 14.08 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.692e-05/0.6115, allocations: 7.938 kB / 1.541 GB, free: 14.07 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002992/0.6145, allocations: 1.546 MB / 1.542 GB, free: 12.47 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.6145, allocations: 12.92 kB / 1.542 GB, free: 12.46 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.6147, allocations: 135.3 kB / 1.542 GB, free: 12.32 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.6168, allocations: 322.9 kB / 1.543 GB, free: 12 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.6185, allocations: 0.8638 MB / 1.544 GB, free: 11.09 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/0.6185, allocations: 66 kB / 1.544 GB, free: 11.03 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.6187, allocations: 91.94 kB / 1.544 GB, free: 10.94 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.6205, allocations: 0.9169 MB / 1.545 GB, free: 10.02 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.6205, allocations: 0 / 1.545 GB, free: 10.02 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.6206, allocations: 36 kB / 1.545 GB, free: 9.98 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.6206, allocations: 33.94 kB / 1.545 GB, free: 9.945 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.6222, allocations: 0.8393 MB / 1.546 GB, free: 9.109 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005886/0.6281, allocations: 3.677 MB / 1.549 GB, free: 5.172 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007959/0.6289, allocations: 464.4 kB / 1.55 GB, free: 4.711 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.6293, allocations: 283 kB / 1.55 GB, free: 4.434 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.6295, allocations: 101.5 kB / 1.55 GB, free: 4.316 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.6296, allocations: 46.88 kB / 1.55 GB, free: 4.262 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 1.904e-06/0.6296, allocations: 3.938 kB / 1.55 GB, free: 4.258 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.003685/0.6332, allocations: 1.893 MB / 1.552 GB, free: 2.266 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.6333, allocations: 55.84 kB / 1.552 GB, free: 2.199 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.6344, allocations: 0.8059 MB / 1.553 GB, free: 1.383 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.6344, allocations: 37.7 kB / 1.553 GB, free: 1.34 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.6348, allocations: 492.1 kB / 1.553 GB, free: 0.8555 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.635, allocations: 182.4 kB / 1.553 GB, free: 0.6758 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.6352, allocations: 118.3 kB / 1.554 GB, free: 0.5547 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6353, allocations: 330 kB / 1.554 GB, free: 232 kB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.6358, allocations: 241.2 kB / 1.554 GB, free: 15.99 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.6363, allocations: 388.6 kB / 1.554 GB, free: 15.56 MB / 1.264 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/0.6403, allocations: 1.536 MB / 1.556 GB, free: 13.96 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6403, allocations: 0 / 1.556 GB, free: 13.96 MB / 1.264 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001434/0.6417, allocations: 0.8004 MB / 1.557 GB, free: 13.14 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6418, allocations: 6.5 kB / 1.557 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6418, allocations: 4.406 kB / 1.557 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.6419, allocations: 69.67 kB / 1.557 GB, free: 13.06 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.6426, allocations: 143.8 kB / 1.557 GB, free: 12.92 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.6454, allocations: 3.129 MB / 1.56 GB, free: 9.516 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008521/0.6463, allocations: 23.98 kB / 1.56 GB, free: 9.492 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/0.6464, allocations: 28 kB / 1.56 GB, free: 9.465 MB / 1.264 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * 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: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005196/0.6469, allocations: 308.2 kB / 1.56 GB, free: 9.156 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.6471, allocations: 95.53 kB / 1.56 GB, free: 9.062 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.6473, allocations: 100.7 kB / 1.561 GB, free: 8.957 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6473, allocations: 8 kB / 1.561 GB, free: 8.949 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6473, allocations: 0 / 1.561 GB, free: 8.949 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/0.6484, allocations: 0.8309 MB / 1.561 GB, free: 8.031 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.6516, allocations: 1.8 MB / 1.563 GB, free: 6.133 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.6516, allocations: 4 kB / 1.563 GB, free: 6.129 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.6522, allocations: 127.8 kB / 1.563 GB, free: 6.004 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.6523, allocations: 41.25 kB / 1.563 GB, free: 5.961 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.6523, allocations: 15.98 kB / 1.563 GB, free: 5.945 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.6537, allocations: 1.602 MB / 1.565 GB, free: 4.207 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.6537, allocations: 3.938 kB / 1.565 GB, free: 4.203 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.6554, allocations: 1.077 MB / 1.566 GB, free: 3.066 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005505/0.656, allocations: 240.5 kB / 1.566 GB, free: 2.812 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.6561, allocations: 15.94 kB / 1.566 GB, free: 2.797 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007617/0.6569, allocations: 31.91 kB / 1.566 GB, free: 2.766 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.657, allocations: 47.95 kB / 1.566 GB, free: 2.719 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.6571, allocations: 31.97 kB / 1.566 GB, free: 2.688 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009056/0.6581, allocations: 0.5615 MB / 1.567 GB, free: 2.133 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6581, allocations: 3.938 kB / 1.567 GB, free: 2.129 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001062/0.6591, allocations: 271.9 kB / 1.567 GB, free: 1.863 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002606/0.6617, allocations: 1.691 MB / 1.569 GB, free: 108 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.6632, allocations: 0.7848 MB / 1.569 GB, free: 15.3 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.6632, allocations: 4 kB / 1.569 GB, free: 15.29 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006131/0.6638, allocations: 390.1 kB / 1.57 GB, free: 14.9 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/0.6668, allocations: 0.6037 MB / 1.57 GB, free: 14.31 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.6781, allocations: 7.037 MB / 1.577 GB, free: 6.973 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009319/0.679, allocations: 1.088 MB / 1.578 GB, free: 5.855 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009613/0.68, allocations: 207.7 kB / 1.579 GB, free: 5.648 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005651/0.6806, allocations: 347.3 kB / 1.579 GB, free: 5.309 MB / 1.279 GB Notification: Performance of SimCode: time 1.122e-06/0.6806, allocations: 0 / 1.579 GB, free: 5.309 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6763/1.357, allocations: 27.58 MB / 1.606 GB, free: 295.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/15.08, allocations: 10.25 kB / 1.606 GB, free: 295.5 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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: 21.51857053861022]