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.0007774/0.0007774, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008231/0.0008231, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8298/0.8298, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.655/1.655, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.065e-05, allocations: 10.22 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5619/0.5619, allocations: 195.7 MB / 1.172 GB, free: 13.05 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.007254/0.5692, allocations: 5.442 MB / 1.177 GB, free: 9.348 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009975/0.5701, allocations: 58.12 kB / 1.177 GB, free: 9.316 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.5713, allocations: 0.5666 MB / 1.178 GB, free: 9.004 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.004069/0.5754, allocations: 1.988 MB / 1.18 GB, free: 7.895 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.5779, allocations: 1.244 MB / 1.181 GB, free: 7.23 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.5812, allocations: 3.062 MB / 1.184 GB, free: 5.793 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.5823, allocations: 0.7635 MB / 1.185 GB, free: 5.422 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002478/0.5847, allocations: 1.675 MB / 1.187 GB, free: 4.676 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.5863, allocations: 0.8884 MB / 1.187 GB, free: 4.398 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.5864, allocations: 108.7 kB / 1.188 GB, free: 4.398 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.5884, allocations: 1.196 MB / 1.189 GB, free: 3.965 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.5888, allocations: 0.4957 MB / 1.189 GB, free: 3.727 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004707/0.5893, allocations: 476.8 kB / 1.19 GB, free: 3.539 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.5916, allocations: 2.172 MB / 1.192 GB, free: 2.789 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5916, allocations: 3.938 kB / 1.192 GB, free: 2.785 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5916, allocations: 0 / 1.192 GB, free: 2.785 MB / 1.026 GB Notification: Performance of Transformations before backend: time 2.877e-05/0.5916, allocations: 1.375 kB / 1.192 GB, free: 2.785 MB / 1.026 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.00192/0.5935, allocations: 1.45 MB / 1.193 GB, free: 1.867 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5936, allocations: 9.375 kB / 1.193 GB, free: 1.867 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.5937, allocations: 137.2 kB / 1.193 GB, free: 1.777 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.5948, allocations: 326.9 kB / 1.194 GB, free: 1.684 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.5958, allocations: 0.8007 MB / 1.194 GB, free: 1.211 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.5958, allocations: 64.78 kB / 1.194 GB, free: 1.18 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-05/0.5959, allocations: 84.47 kB / 1.195 GB, free: 1.152 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.5972, allocations: 1.368 MB / 1.196 GB, free: 252 kB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.5972, allocations: 4.938 kB / 1.196 GB, free: 248 kB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.5972, allocations: 36.84 kB / 1.196 GB, free: 220 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.5973, allocations: 32.66 kB / 1.196 GB, free: 220 kB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009768/0.5983, allocations: 0.8269 MB / 1.197 GB, free: 15.94 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/0.6016, allocations: 2.541 MB / 1.199 GB, free: 14.71 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.6021, allocations: 470.9 kB / 1.2 GB, free: 14.52 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.6024, allocations: 285.1 kB / 1.2 GB, free: 14.42 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.6025, allocations: 22.44 kB / 1.2 GB, free: 14.42 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.6025, allocations: 45.59 kB / 1.2 GB, free: 14.37 MB / 1.042 GB Notification: Performance of pre-optimization done (n=47): time 2.675e-06/0.6025, allocations: 0 / 1.2 GB, free: 14.37 MB / 1.042 GB Notification: Performance of matching and sorting (n=49): time 0.002517/0.605, allocations: 1.67 MB / 1.202 GB, free: 13.55 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.6051, allocations: 57.41 kB / 1.202 GB, free: 13.49 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/0.6058, allocations: 0.8198 MB / 1.203 GB, free: 13.11 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.6058, allocations: 38.61 kB / 1.203 GB, free: 13.07 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.606, allocations: 492.5 kB / 1.203 GB, free: 12.64 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.6062, allocations: 175.1 kB / 1.203 GB, free: 12.49 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.6063, allocations: 118.6 kB / 1.203 GB, free: 12.42 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.6064, allocations: 333.9 kB / 1.204 GB, free: 12.09 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.6066, allocations: 243.9 kB / 1.204 GB, free: 11.98 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.607, allocations: 487.1 kB / 1.204 GB, free: 11.57 MB / 1.042 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.00195/0.6089, allocations: 1.459 MB / 1.206 GB, free: 10.79 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6089, allocations: 2.219 kB / 1.206 GB, free: 10.79 MB / 1.042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008361/0.6098, allocations: 0.7914 MB / 1.207 GB, free: 10.37 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6098, allocations: 10.81 kB / 1.207 GB, free: 10.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6098, allocations: 4.188 kB / 1.207 GB, free: 10.36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.6099, allocations: 70.58 kB / 1.207 GB, free: 10.32 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.6103, allocations: 148.3 kB / 1.207 GB, free: 10.29 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.6119, allocations: 2.905 MB / 1.21 GB, free: 7.484 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.6124, allocations: 29.16 kB / 1.21 GB, free: 7.469 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.6125, allocations: 23.53 kB / 1.21 GB, free: 7.465 MB / 1.042 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.0003759/0.6129, allocations: 296.2 kB / 1.21 GB, free: 7.242 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/0.6129, allocations: 99.78 kB / 1.21 GB, free: 7.191 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.535e-05/0.613, allocations: 103.5 kB / 1.21 GB, free: 7.117 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.613, allocations: 5.188 kB / 1.21 GB, free: 7.117 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.613, allocations: 0 / 1.21 GB, free: 7.117 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006121/0.6137, allocations: 0.8399 MB / 1.211 GB, free: 6.438 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.6153, allocations: 1.628 MB / 1.213 GB, free: 5.34 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6153, allocations: 2.625 kB / 1.213 GB, free: 5.34 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.6156, allocations: 132 kB / 1.213 GB, free: 5.305 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.559e-05/0.6157, allocations: 42.62 kB / 1.213 GB, free: 5.281 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.6157, allocations: 15.83 kB / 1.213 GB, free: 5.273 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007372/0.6165, allocations: 1.495 MB / 1.214 GB, free: 3.859 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6165, allocations: 6.125 kB / 1.214 GB, free: 3.855 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009368/0.6174, allocations: 1.063 MB / 1.215 GB, free: 3.18 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.6176, allocations: 159 kB / 1.215 GB, free: 3.078 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.6177, allocations: 16.27 kB / 1.215 GB, free: 3.07 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.618, allocations: 31.75 kB / 1.215 GB, free: 3.055 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.6181, allocations: 51.83 kB / 1.215 GB, free: 3.02 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.6182, allocations: 29.42 kB / 1.215 GB, free: 3.012 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0004416/0.6186, allocations: 0.5622 MB / 1.216 GB, free: 2.691 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.6186, allocations: 0 / 1.216 GB, free: 2.691 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0006018/0.6192, allocations: 280.1 kB / 1.216 GB, free: 2.668 MB / 1.042 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.001351/0.6206, allocations: 1.692 MB / 1.218 GB, free: 1.398 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0008038/0.6214, allocations: 0.7842 MB / 1.219 GB, free: 0.8984 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6214, allocations: 2.969 kB / 1.219 GB, free: 0.8984 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.6217, allocations: 397.7 kB / 1.219 GB, free: 0.6484 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.6231, allocations: 0.6091 MB / 1.22 GB, free: 352 kB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/0.6296, allocations: 6.984 MB / 1.227 GB, free: 11.88 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.6299, allocations: 0.4928 MB / 1.227 GB, free: 11.59 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.000643/0.6305, allocations: 215.5 kB / 1.227 GB, free: 11.49 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.6309, allocations: 346.6 kB / 1.228 GB, free: 11.21 MB / 1.057 GB Notification: Performance of SimCode: time 1.432e-06/0.6309, allocations: 0 / 1.228 GB, free: 11.21 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0431/0.674, allocations: 30.3 MB / 1.257 GB, free: 15 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.701, allocations: 12.8 kB / 1.257 GB, free: 14.99 MB / 1.089 GB " [Timeout remaining time 291] (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/jenkins/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: 12.616925287991762]