Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 103.5 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 64.42 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3535, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.8873/1.241, allocations: 187.1 MB / 1.209 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01644/1.257, allocations: 13.02 MB / 1.222 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/1.259, allocations: 31.62 kB / 1.222 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/1.26, allocations: 414.9 kB / 1.223 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/1.263, allocations: 0.9266 MB / 1.223 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/1.265, allocations: 0.7076 MB / 1.224 GB, free: 1.379 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002201/1.267, allocations: 1.5 MB / 1.226 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009298/1.268, allocations: 0.6607 MB / 1.226 GB, free: 128 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004376/1.273, allocations: 1.709 MB / 1.228 GB, free: 15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/1.274, allocations: 0.506 MB / 1.228 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/1.274, allocations: 53.12 kB / 1.228 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/1.276, allocations: 0.8692 MB / 1.229 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/1.276, allocations: 283.2 kB / 1.23 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004379/1.277, allocations: 382 kB / 1.23 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/1.278, allocations: 1.184 MB / 1.231 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.278, allocations: 4 kB / 1.231 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.703e-06/1.278, allocations: 0 / 1.231 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.145e-05/1.278, allocations: 0 / 1.231 GB, free: 11.98 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00149/1.28, allocations: 1.04 MB / 1.232 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/1.28, allocations: 15.97 kB / 1.232 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009211/1.281, allocations: 190.8 kB / 1.232 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/1.282, allocations: 0.5442 MB / 1.233 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/1.282, allocations: 45.31 kB / 1.233 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.421e-05/1.282, allocations: 56 kB / 1.233 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/1.283, allocations: 0.7828 MB / 1.234 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/1.283, allocations: 11.75 kB / 1.234 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/1.283, allocations: 28 kB / 1.234 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.464e-05/1.283, allocations: 24.94 kB / 1.234 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008402/1.284, allocations: 455.3 kB / 1.234 GB, free: 8.605 MB / 0.9356 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.004006/1.288, allocations: 4.386 MB / 1.239 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/1.288, allocations: 102.4 kB / 1.239 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/1.288, allocations: 75.5 kB / 1.239 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/1.289, allocations: 93.09 kB / 1.239 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.289, allocations: 38.56 kB / 1.239 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/1.289, allocations: 0 / 1.239 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006492/1.289, allocations: 236.6 kB / 1.239 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/1.289, allocations: 144.4 kB / 1.239 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/1.29, allocations: 0.841 MB / 1.24 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/1.29, allocations: 29.7 kB / 1.24 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/1.291, allocations: 406.8 kB / 1.24 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/1.291, allocations: 35.48 kB / 1.24 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/1.291, allocations: 93.88 kB / 1.241 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.291, allocations: 325.9 kB / 1.241 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/1.291, allocations: 112.7 kB / 1.241 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004606/1.292, allocations: 361.7 kB / 1.241 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/1.292, allocations: 441.8 kB / 1.242 GB, free: 344 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.292, allocations: 4 kB / 1.242 GB, free: 340 kB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009193/1.293, allocations: 0.5005 MB / 1.242 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.293, allocations: 14.48 kB / 1.242 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.293, allocations: 8 kB / 1.242 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/1.293, allocations: 8 kB / 1.242 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/1.294, allocations: 91.83 kB / 1.242 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/1.294, allocations: 15.94 kB / 1.242 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/1.294, allocations: 126.1 kB / 1.242 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/1.294, allocations: 24 kB / 1.242 GB, free: 15.55 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000263/1.295, allocations: 229.5 kB / 1.243 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/1.295, allocations: 79.06 kB / 1.243 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/1.295, allocations: 74.17 kB / 1.243 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.295, allocations: 0 / 1.243 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.295, allocations: 4 kB / 1.243 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.295, allocations: 3.984 kB / 1.243 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/1.296, allocations: 1.124 MB / 1.244 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.296, allocations: 0 / 1.244 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.54e-05/1.296, allocations: 19.94 kB / 1.244 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/1.297, allocations: 4.312 kB / 1.244 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/1.297, allocations: 8 kB / 1.244 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.297, allocations: 0 / 1.244 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.297, allocations: 4 kB / 1.244 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/1.297, allocations: 263.8 kB / 1.244 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/1.297, allocations: 176.1 kB / 1.244 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/1.297, allocations: 4 kB / 1.244 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/1.297, allocations: 27.97 kB / 1.244 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/1.298, allocations: 7.938 kB / 1.244 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/1.298, allocations: 4 kB / 1.244 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007813/1.298, allocations: 0.5888 MB / 1.245 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/1.298, allocations: 4.094 kB / 1.245 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005766/1.299, allocations: 159.8 kB / 1.245 GB, free: 12.63 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004792/1.299, allocations: 198.8 kB / 1.245 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005016/1.3, allocations: 241.4 kB / 1.246 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.3, allocations: 0 / 1.246 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.841e-05/1.3, allocations: 56.22 kB / 1.246 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/1.301, allocations: 372.4 kB / 1.246 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/1.303, allocations: 1.058 MB / 1.247 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/1.303, allocations: 0.937 MB / 1.248 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004058/1.304, allocations: 142.1 kB / 1.248 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/1.304, allocations: 51.42 kB / 1.248 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/1.304, allocations: 0 / 1.248 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.02052/1.324, allocations: 11.71 MB / 1.26 GB, free: 14 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches