Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001007/0.001007, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009739/0.0009739, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9571/0.9571, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 2.163/2.163, allocations: 429.5 MB / 0.6743 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0.875 kB / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.55e-05, allocations: 12.86 kB / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.01205/0.01208, allocations: 15.76 MB / 0.8948 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009162/0.02124, allocations: 5.972 MB / 0.9006 GB, free: 276 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003481/0.02472, allocations: 111.1 kB / 0.9007 GB, free: 164 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.02602, allocations: 448.4 kB / 0.9012 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.02917, allocations: 1.169 MB / 0.9023 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002887/0.03206, allocations: 1.355 MB / 0.9036 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003447/0.03551, allocations: 3.179 MB / 0.9067 GB, free: 10 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.03671, allocations: 0.956 MB / 0.9077 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.03905, allocations: 1.631 MB / 0.9093 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009458/0.04, allocations: 0.8059 MB / 0.91 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.04015, allocations: 96 kB / 0.9101 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009552/0.04111, allocations: 495 kB / 0.9106 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.04135, allocations: 302.6 kB / 0.9109 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.04178, allocations: 458.8 kB / 0.9113 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.04305, allocations: 1.226 MB / 0.9125 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.04306, allocations: 0 / 0.9125 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.323e-06/0.04306, allocations: 0 / 0.9125 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.04307, allocations: 0 / 0.9125 GB, free: 4.047 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001661/0.04473, allocations: 1.7 MB / 0.9142 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.04477, allocations: 8.031 kB / 0.9142 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004626/0.04523, allocations: 271.9 kB / 0.9145 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009393/0.04617, allocations: 0.8751 MB / 0.9153 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.04622, allocations: 66.38 kB / 0.9154 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.0463, allocations: 92.23 kB / 0.9155 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008353/0.04713, allocations: 0.9188 MB / 0.9164 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.04715, allocations: 3.938 kB / 0.9164 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.04721, allocations: 40 kB / 0.9164 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.04722, allocations: 20 kB / 0.9164 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.04752, allocations: 253.4 kB / 0.9167 GB, free: 15.58 MB / 0.8855 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.002953/0.05048, allocations: 4.658 MB / 0.9212 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.05082, allocations: 170.7 kB / 0.9214 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.0509, allocations: 64.14 kB / 0.9214 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.05102, allocations: 39.97 kB / 0.9215 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.05105, allocations: 45.33 kB / 0.9215 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.05105, allocations: 0 / 0.9215 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29): time 0.000907/0.05195, allocations: 481.5 kB / 0.922 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.05198, allocations: 59.39 kB / 0.922 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005725/0.05256, allocations: 0.815 MB / 0.9228 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.05258, allocations: 29.7 kB / 0.9229 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.05293, allocations: 0.6583 MB / 0.9235 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.05301, allocations: 111.1 kB / 0.9236 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.05313, allocations: 127.7 kB / 0.9237 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.05326, allocations: 0.5003 MB / 0.9242 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.851e-05/0.05336, allocations: 52.95 kB / 0.9243 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.05364, allocations: 0.498 MB / 0.9248 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.05398, allocations: 438.4 kB / 0.9252 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.05398, allocations: 0 / 0.9252 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000531/0.05451, allocations: 495.7 kB / 0.9256 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.05453, allocations: 9.719 kB / 0.9257 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.05454, allocations: 8 kB / 0.9257 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003398/0.05488, allocations: 123.7 kB / 0.9258 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.05514, allocations: 127.8 kB / 0.9259 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008894/0.05603, allocations: 2.431 MB / 0.9283 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.0563, allocations: 67.64 kB / 0.9283 GB, free: 2.957 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.05634, allocations: 32 kB / 0.9284 GB, free: 2.926 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.05652, allocations: 196.3 kB / 0.9286 GB, free: 2.723 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.05663, allocations: 111.3 kB / 0.9287 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005702/0.0572, allocations: 427.1 kB / 0.9291 GB, free: 2.18 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.05721, allocations: 7.938 kB / 0.9291 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.05721, allocations: 0 / 0.9291 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.05722, allocations: 0 / 0.9291 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.05833, allocations: 1.019 MB / 0.9301 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.05833, allocations: 4 kB / 0.9301 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.05853, allocations: 71.88 kB / 0.9301 GB, free: 1.012 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002503/0.05878, allocations: 119.3 kB / 0.9303 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.0588, allocations: 11.98 kB / 0.9303 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008303/0.05963, allocations: 2.423 MB / 0.9326 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.05963, allocations: 4 kB / 0.9326 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.06012, allocations: 0.5676 MB / 0.9332 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.06031, allocations: 151.2 kB / 0.9333 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.06037, allocations: 11.94 kB / 0.9334 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.0606, allocations: 31.97 kB / 0.9334 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.06066, allocations: 35.97 kB / 0.9334 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.06069, allocations: 19.98 kB / 0.9334 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003178/0.061, allocations: 486.2 kB / 0.9339 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.1e-08/0.061, allocations: 0 / 0.9339 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005996/0.0616, allocations: 303.2 kB / 0.9342 GB, free: 12.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002861/0.06189, allocations: 198.8 kB / 0.9344 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004718/0.06236, allocations: 289.6 kB / 0.9347 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.06236, allocations: 4 kB / 0.9347 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.06257, allocations: 147.4 kB / 0.9348 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.06362, allocations: 437.6 kB / 0.9352 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.06564, allocations: 1.66 MB / 0.9368 GB, free: 9.91 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.06577, allocations: 215.5 kB / 0.937 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003033/0.06608, allocations: 129.3 kB / 0.9372 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005709/0.06665, allocations: 393.9 kB / 0.9375 GB, free: 9.164 MB / 0.9011 GB Notification: Performance of SimCode: time 9.02e-07/0.06665, allocations: 0 / 0.9375 GB, free: 9.164 MB / 0.9011 GB Notification: Performance of Templates: time 0.0224/0.08905, allocations: 17.84 MB / 0.955 GB, free: 7.75 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.082463172264397]