Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.00135/0.00135, allocations: 110.3 kB / 16.46 MB, free: 6.508 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.001407/0.001407, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.389/1.389, allocations: 230.6 MB / 252.8 MB, free: 9.102 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 3.021/3.021, allocations: 0.49 GB / 0.7916 GB, free: 33.43 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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.002041/0.002041, allocations: 65.53 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3088, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.263/0.5718, allocations: 225 MB / 1.541 GB, free: 1.461 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009679/0.5815, allocations: 5.75 MB / 1.546 GB, free: 11.7 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.5827, allocations: 55.56 kB / 1.546 GB, free: 11.64 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.5843, allocations: 0.6136 MB / 1.547 GB, free: 11.03 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.589, allocations: 1.921 MB / 1.549 GB, free: 9.098 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.592, allocations: 1.199 MB / 1.55 GB, free: 7.906 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004228/0.5962, allocations: 2.96 MB / 1.553 GB, free: 4.938 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.5977, allocations: 0.8472 MB / 1.554 GB, free: 4.07 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.6004, allocations: 1.335 MB / 1.555 GB, free: 2.73 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/0.6029, allocations: 0.989 MB / 1.556 GB, free: 1.75 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003277/0.6032, allocations: 107.9 kB / 1.556 GB, free: 1.645 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.6064, allocations: 1.504 MB / 1.557 GB, free: 140 kB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007047/0.6071, allocations: 478.6 kB / 1.558 GB, free: 15.66 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.6084, allocations: 0.6573 MB / 1.559 GB, free: 15 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004135/0.6125, allocations: 2.137 MB / 1.561 GB, free: 12.86 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.6125, allocations: 4 kB / 1.561 GB, free: 12.86 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6125, allocations: 0 / 1.561 GB, free: 12.86 MB / 1.264 GB Notification: Performance of Transformations before backend: time 5.047e-05/0.6126, allocations: 0 / 1.561 GB, free: 12.86 MB / 1.264 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.00315/0.6157, allocations: 1.545 MB / 1.562 GB, free: 11.26 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6158, allocations: 11.98 kB / 1.562 GB, free: 11.25 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002416/0.616, allocations: 139.3 kB / 1.562 GB, free: 11.1 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.6182, allocations: 330.9 kB / 1.563 GB, free: 10.78 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.6198, allocations: 0.8638 MB / 1.563 GB, free: 9.871 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.6198, allocations: 62 kB / 1.564 GB, free: 9.812 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.62, allocations: 91.98 kB / 1.564 GB, free: 9.723 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.6217, allocations: 0.9053 MB / 1.564 GB, free: 8.809 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.6217, allocations: 0 / 1.564 GB, free: 8.809 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.314e-05/0.6218, allocations: 36 kB / 1.565 GB, free: 8.773 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/0.6218, allocations: 37.94 kB / 1.565 GB, free: 8.734 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.6234, allocations: 0.8392 MB / 1.565 GB, free: 7.898 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006089/0.6295, allocations: 3.669 MB / 1.569 GB, free: 3.973 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008155/0.6303, allocations: 470.2 kB / 1.569 GB, free: 3.504 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.6308, allocations: 282 kB / 1.57 GB, free: 3.227 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.631, allocations: 105.5 kB / 1.57 GB, free: 3.102 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.631, allocations: 46.92 kB / 1.57 GB, free: 3.047 MB / 1.264 GB Notification: Performance of pre-optimization done (n=47): time 2.295e-06/0.631, allocations: 0 / 1.57 GB, free: 3.047 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.00396/0.635, allocations: 1.893 MB / 1.572 GB, free: 1.062 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.635, allocations: 55.84 kB / 1.572 GB, free: 0.9961 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.6361, allocations: 0.8059 MB / 1.573 GB, free: 184 kB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/0.6362, allocations: 45.7 kB / 1.573 GB, free: 132 kB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.6366, allocations: 484.2 kB / 1.573 GB, free: 15.65 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.6368, allocations: 182.4 kB / 1.573 GB, free: 15.47 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.637, allocations: 118.2 kB / 1.573 GB, free: 15.35 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6371, allocations: 334 kB / 1.574 GB, free: 15.02 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/0.6376, allocations: 237.2 kB / 1.574 GB, free: 14.79 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.6382, allocations: 388.6 kB / 1.574 GB, free: 14.36 MB / 1.279 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.003848/0.642, allocations: 1.537 MB / 1.576 GB, free: 12.76 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.642, allocations: 0 / 1.576 GB, free: 12.76 MB / 1.279 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001485/0.6435, allocations: 0.8004 MB / 1.576 GB, free: 11.95 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.6435, allocations: 4 kB / 1.576 GB, free: 11.94 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6435, allocations: 4 kB / 1.577 GB, free: 11.94 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.6437, allocations: 70.03 kB / 1.577 GB, free: 11.86 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.6444, allocations: 155.8 kB / 1.577 GB, free: 11.71 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.6474, allocations: 3.117 MB / 1.58 GB, free: 8.312 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008687/0.6482, allocations: 31.97 kB / 1.58 GB, free: 8.281 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.6483, allocations: 27.98 kB / 1.58 GB, free: 8.254 MB / 1.279 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.0005014/0.6488, allocations: 301.6 kB / 1.58 GB, free: 7.949 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.649, allocations: 103.5 kB / 1.58 GB, free: 7.848 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.6493, allocations: 96.72 kB / 1.58 GB, free: 7.75 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.6493, allocations: 8 kB / 1.58 GB, free: 7.742 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6493, allocations: 0 / 1.58 GB, free: 7.742 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001129/0.6504, allocations: 0.8348 MB / 1.581 GB, free: 6.816 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.6535, allocations: 1.787 MB / 1.583 GB, free: 4.93 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.6535, allocations: 4 kB / 1.583 GB, free: 4.926 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.6541, allocations: 135.8 kB / 1.583 GB, free: 4.793 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.6542, allocations: 37.25 kB / 1.583 GB, free: 4.754 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.6543, allocations: 12 kB / 1.583 GB, free: 4.742 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.6557, allocations: 1.606 MB / 1.585 GB, free: 2.996 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6557, allocations: 4 kB / 1.585 GB, free: 2.992 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.6576, allocations: 1.07 MB / 1.586 GB, free: 1.863 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005388/0.6581, allocations: 240.5 kB / 1.586 GB, free: 1.609 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.6583, allocations: 23.92 kB / 1.586 GB, free: 1.586 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/0.6591, allocations: 31.92 kB / 1.586 GB, free: 1.555 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.6592, allocations: 31.95 kB / 1.586 GB, free: 1.523 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/0.6593, allocations: 36.05 kB / 1.586 GB, free: 1.488 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008953/0.6602, allocations: 0.5615 MB / 1.587 GB, free: 0.9336 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6602, allocations: 3.938 kB / 1.587 GB, free: 0.9297 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001059/0.6612, allocations: 275.9 kB / 1.587 GB, free: 0.6602 MB / 1.279 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.002329/0.6636, allocations: 1.692 MB / 1.588 GB, free: 14.89 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.6651, allocations: 0.7773 MB / 1.589 GB, free: 14.09 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.6651, allocations: 4 kB / 1.589 GB, free: 14.09 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006416/0.6657, allocations: 398.3 kB / 1.59 GB, free: 13.68 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/0.6687, allocations: 0.6057 MB / 1.59 GB, free: 13.09 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.6796, allocations: 7.04 MB / 1.597 GB, free: 5.758 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008856/0.6805, allocations: 1.088 MB / 1.598 GB, free: 4.641 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008793/0.6814, allocations: 215.7 kB / 1.598 GB, free: 4.426 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/0.6819, allocations: 347.3 kB / 1.599 GB, free: 4.086 MB / 1.295 GB Notification: Performance of SimCode: time 8.61e-07/0.6819, allocations: 0 / 1.599 GB, free: 4.086 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6436/1.325, allocations: 27.63 MB / 1.626 GB, free: 277.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/14.24, allocations: 4.141 kB / 1.626 GB, free: 277.7 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.55105319293216]