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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001315, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 472.6 MB / 0.7451 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.34 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3405, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.9331/1.274, allocations: 221.1 MB / 1.284 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00911/1.283, allocations: 5.724 MB / 1.29 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/1.284, allocations: 42.47 kB / 1.29 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/1.286, allocations: 0.5739 MB / 1.29 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005201/1.291, allocations: 1.852 MB / 1.292 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003618/1.295, allocations: 1.172 MB / 1.293 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005235/1.3, allocations: 2.95 MB / 1.296 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/1.302, allocations: 1.034 MB / 1.297 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/1.305, allocations: 1.059 MB / 1.298 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/1.307, allocations: 0.9365 MB / 1.299 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002262/1.307, allocations: 108.9 kB / 1.299 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004012/1.311, allocations: 1.43 MB / 1.301 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007932/1.312, allocations: 463 kB / 1.301 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001191/1.313, allocations: 0.6601 MB / 1.302 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004307/1.318, allocations: 2.107 MB / 1.304 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.318, allocations: 1.656 kB / 1.304 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.655e-06/1.318, allocations: 0.875 kB / 1.304 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.919e-05/1.318, allocations: 0 / 1.304 GB, free: 4.922 MB / 0.9981 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.003176/1.321, allocations: 1.509 MB / 1.305 GB, free: 20.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.321, allocations: 10.94 kB / 1.305 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/1.323, allocations: 313.4 kB / 1.306 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.324, allocations: 0.8145 MB / 1.306 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/1.325, allocations: 65.25 kB / 1.306 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/1.325, allocations: 84.81 kB / 1.306 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/1.326, allocations: 0.9306 MB / 1.307 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/1.326, allocations: 0 / 1.307 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/1.327, allocations: 41.98 kB / 1.307 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-05/1.327, allocations: 31.16 kB / 1.307 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/1.329, allocations: 0.8306 MB / 1.308 GB, free: 19.68 MB / 1.014 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.006043/1.335, allocations: 3.554 MB / 1.312 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008774/1.335, allocations: 0.493 MB / 1.312 GB, free: 18.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/1.336, allocations: 297.7 kB / 1.312 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/1.336, allocations: 99.59 kB / 1.313 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/1.336, allocations: 43.88 kB / 1.313 GB, free: 18.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.465e-06/1.336, allocations: 0 / 1.313 GB, free: 18.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.003976/1.34, allocations: 1.874 MB / 1.314 GB, free: 17.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/1.34, allocations: 58.94 kB / 1.315 GB, free: 17.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/1.341, allocations: 0.8088 MB / 1.315 GB, free: 17.33 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/1.341, allocations: 38.2 kB / 1.315 GB, free: 17.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/1.342, allocations: 479.7 kB / 1.316 GB, free: 17.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/1.342, allocations: 175.4 kB / 1.316 GB, free: 16.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/1.342, allocations: 114.9 kB / 1.316 GB, free: 16.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.342, allocations: 334.6 kB / 1.316 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/1.343, allocations: 247.5 kB / 1.317 GB, free: 16.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/1.343, allocations: 383.7 kB / 1.317 GB, free: 16.51 MB / 1.014 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.003613/1.347, allocations: 1.546 MB / 1.319 GB, free: 16.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/1.347, allocations: 3.156 kB / 1.319 GB, free: 16.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001411/1.348, allocations: 0.787 MB / 1.319 GB, free: 16.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.348, allocations: 7.969 kB / 1.319 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.349, allocations: 4.719 kB / 1.319 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/1.349, allocations: 70.42 kB / 1.319 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/1.349, allocations: 151 kB / 1.32 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/1.352, allocations: 3.13 MB / 1.323 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.353, allocations: 23.8 kB / 1.323 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/1.353, allocations: 28.22 kB / 1.323 GB, free: 13.46 MB / 1.014 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.00059/1.354, allocations: 301.2 kB / 1.323 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/1.354, allocations: 91.19 kB / 1.323 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/1.354, allocations: 98.73 kB / 1.323 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.354, allocations: 7.625 kB / 1.323 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.354, allocations: 0 / 1.323 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/1.355, allocations: 0.8374 MB / 1.324 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/1.358, allocations: 1.803 MB / 1.326 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.358, allocations: 3.438 kB / 1.326 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/1.359, allocations: 130.9 kB / 1.326 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/1.359, allocations: 41.59 kB / 1.326 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/1.359, allocations: 13 kB / 1.326 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/1.36, allocations: 1.604 MB / 1.327 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.36, allocations: 6.844 kB / 1.327 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/1.362, allocations: 1.065 MB / 1.328 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/1.362, allocations: 241.2 kB / 1.329 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/1.362, allocations: 18.12 kB / 1.329 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/1.363, allocations: 32.91 kB / 1.329 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/1.363, allocations: 49.42 kB / 1.329 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/1.363, allocations: 28.89 kB / 1.329 GB, free: 10.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000769/1.364, allocations: 0.5583 MB / 1.329 GB, free: 10.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/1.364, allocations: 0 / 1.329 GB, free: 10.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00102/1.365, allocations: 282 kB / 1.33 GB, free: 10.47 MB / 1.014 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.000498/1.366, allocations: 191.3 kB / 1.33 GB, free: 10.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001463/1.367, allocations: 0.8692 MB / 1.331 GB, free: 10.13 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.367, allocations: 0 / 1.331 GB, free: 10.13 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005474/1.368, allocations: 411.8 kB / 1.331 GB, free: 10.01 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/1.37, allocations: 0.5965 MB / 1.332 GB, free: 9.918 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/1.373, allocations: 1.832 MB / 1.333 GB, free: 9.066 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008618/1.374, allocations: 1.091 MB / 1.334 GB, free: 8.355 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001054/1.375, allocations: 220.8 kB / 1.335 GB, free: 8.293 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/1.376, allocations: 69.34 kB / 1.335 GB, free: 8.285 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/1.376, allocations: 0 / 1.335 GB, free: 8.285 MB / 1.014 GB Notification: Performance of Templates: time 0.0364/1.412, allocations: 20.03 MB / 1.354 GB, free: 3.023 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches