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.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.001721/0.001721, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001587/0.001587, allocations: 221.5 kB / 23.03 MB, free: 4.945 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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 3.173/3.173, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.002074/0.002074, allocations: 74.75 kB / 1.171 GB, free: 19.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3153, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2402/0.5554, allocations: 195.9 MB / 1.537 GB, free: 11.34 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.5655, allocations: 5.429 MB / 1.542 GB, free: 5.895 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.5669, allocations: 55.56 kB / 1.542 GB, free: 5.84 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.5685, allocations: 0.5552 MB / 1.542 GB, free: 5.281 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005071/0.5736, allocations: 1.937 MB / 1.544 GB, free: 3.336 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.5768, allocations: 1.222 MB / 1.546 GB, free: 2.121 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00434/0.5812, allocations: 3.042 MB / 1.549 GB, free: 15.07 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.5826, allocations: 0.7659 MB / 1.549 GB, free: 14.28 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002874/0.5855, allocations: 1.343 MB / 1.551 GB, free: 12.93 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/0.5883, allocations: 0.9853 MB / 1.552 GB, free: 11.96 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003533/0.5886, allocations: 108 kB / 1.552 GB, free: 11.85 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.5916, allocations: 1.192 MB / 1.553 GB, free: 10.66 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007178/0.5924, allocations: 482.6 kB / 1.553 GB, free: 10.18 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.5936, allocations: 0.5485 MB / 1.554 GB, free: 9.633 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004035/0.5977, allocations: 2.102 MB / 1.556 GB, free: 7.523 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5977, allocations: 3.938 kB / 1.556 GB, free: 7.52 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5977, allocations: 3.938 kB / 1.556 GB, free: 7.516 MB / 1.248 GB Notification: Performance of Transformations before backend: time 5.898e-05/0.5977, allocations: 0 / 1.556 GB, free: 7.516 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.003983/0.6017, allocations: 1.458 MB / 1.557 GB, free: 6.023 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.6018, allocations: 12.03 kB / 1.557 GB, free: 6.012 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.075e-05/0.6018, allocations: 22 kB / 1.557 GB, free: 5.988 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003304/0.6021, allocations: 147.2 kB / 1.557 GB, free: 5.836 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.6045, allocations: 326.9 kB / 1.558 GB, free: 5.516 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.6066, allocations: 0.7878 MB / 1.559 GB, free: 4.703 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.271e-05/0.6066, allocations: 66 kB / 1.559 GB, free: 4.641 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.6069, allocations: 84 kB / 1.559 GB, free: 4.559 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.6091, allocations: 1.369 MB / 1.56 GB, free: 3.074 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.6092, allocations: 4 kB / 1.56 GB, free: 3.07 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.6093, allocations: 35.94 kB / 1.56 GB, free: 3.035 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-05/0.6093, allocations: 37.94 kB / 1.56 GB, free: 2.996 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.611, allocations: 0.8315 MB / 1.561 GB, free: 2.164 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005688/0.6167, allocations: 2.543 MB / 1.563 GB, free: 15.55 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008253/0.6175, allocations: 474.8 kB / 1.564 GB, free: 15.09 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.618, allocations: 278 kB / 1.564 GB, free: 14.81 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.6181, allocations: 28.3 kB / 1.564 GB, free: 14.79 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.6182, allocations: 47 kB / 1.564 GB, free: 14.73 MB / 1.264 GB Notification: Performance of pre-optimization done (n=47): time 2.655e-06/0.6182, allocations: 0 / 1.564 GB, free: 14.73 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.003658/0.6218, allocations: 1.663 MB / 1.566 GB, free: 13.03 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.6219, allocations: 55.84 kB / 1.566 GB, free: 12.96 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.6229, allocations: 0.8097 MB / 1.567 GB, free: 12.14 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/0.623, allocations: 41.7 kB / 1.567 GB, free: 12.1 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.6234, allocations: 488.2 kB / 1.567 GB, free: 11.62 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.6235, allocations: 182.5 kB / 1.567 GB, free: 11.44 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.6238, allocations: 114.2 kB / 1.567 GB, free: 11.32 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6239, allocations: 334 kB / 1.568 GB, free: 10.99 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.6244, allocations: 241.2 kB / 1.568 GB, free: 10.75 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006377/0.625, allocations: 491.4 kB / 1.568 GB, free: 10.2 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.003805/0.6288, allocations: 1.454 MB / 1.57 GB, free: 8.695 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.6288, allocations: 11.88 kB / 1.57 GB, free: 8.684 MB / 1.264 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00144/0.6302, allocations: 0.7873 MB / 1.571 GB, free: 7.887 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.6303, allocations: 8.406 kB / 1.571 GB, free: 7.879 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.6303, allocations: 8 kB / 1.571 GB, free: 7.871 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.6304, allocations: 65.67 kB / 1.571 GB, free: 7.801 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.6311, allocations: 147.8 kB / 1.571 GB, free: 7.656 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.6338, allocations: 2.914 MB / 1.574 GB, free: 4.508 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008076/0.6346, allocations: 31.09 kB / 1.574 GB, free: 4.48 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.6346, allocations: 20 kB / 1.574 GB, free: 4.461 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.0005169/0.6352, allocations: 315 kB / 1.574 GB, free: 4.145 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.6353, allocations: 95.44 kB / 1.574 GB, free: 4.051 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.6355, allocations: 100.7 kB / 1.574 GB, free: 3.949 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6355, allocations: 4 kB / 1.574 GB, free: 3.945 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6355, allocations: 8.094 kB / 1.574 GB, free: 3.938 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/0.6366, allocations: 0.8309 MB / 1.575 GB, free: 3.02 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.6395, allocations: 1.63 MB / 1.577 GB, free: 1.297 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.6395, allocations: 4 kB / 1.577 GB, free: 1.293 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/0.6401, allocations: 127.8 kB / 1.577 GB, free: 1.168 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.6402, allocations: 36.84 kB / 1.577 GB, free: 1.129 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.6403, allocations: 16.41 kB / 1.577 GB, free: 1.113 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.6418, allocations: 1.491 MB / 1.578 GB, free: 15.51 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.6418, allocations: 7.938 kB / 1.578 GB, free: 15.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.6436, allocations: 1.07 MB / 1.579 GB, free: 14.38 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.6442, allocations: 159.4 kB / 1.58 GB, free: 14.22 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.6444, allocations: 28.05 kB / 1.58 GB, free: 14.19 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008221/0.6452, allocations: 34.02 kB / 1.58 GB, free: 14.16 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.6453, allocations: 39.88 kB / 1.58 GB, free: 14.12 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/0.6454, allocations: 31.97 kB / 1.58 GB, free: 14.09 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008491/0.6462, allocations: 0.5614 MB / 1.58 GB, free: 13.54 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.6462, allocations: 0 / 1.58 GB, free: 13.54 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001037/0.6473, allocations: 276 kB / 1.58 GB, free: 13.27 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.002358/0.6496, allocations: 1.697 MB / 1.582 GB, free: 11.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.6511, allocations: 0.7801 MB / 1.583 GB, free: 10.69 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6511, allocations: 0 / 1.583 GB, free: 10.69 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.6517, allocations: 399.9 kB / 1.583 GB, free: 10.29 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/0.6546, allocations: 0.5991 MB / 1.584 GB, free: 9.699 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.6663, allocations: 7.032 MB / 1.591 GB, free: 2.371 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.667, allocations: 0.4892 MB / 1.591 GB, free: 1.844 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008843/0.6678, allocations: 219.7 kB / 1.591 GB, free: 1.625 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/0.6684, allocations: 339.3 kB / 1.592 GB, free: 1.293 MB / 1.279 GB Notification: Performance of SimCode: time 1.393e-06/0.6684, allocations: 4 kB / 1.592 GB, free: 1.289 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.667/1.335, allocations: 29.94 MB / 1.621 GB, free: 264 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/15.53, allocations: 15.36 kB / 1.621 GB, free: 264 MB / 1.295 GB " [Timeout remaining time 284] (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/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: 22.231589391012676]