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.0009206/0.0009206, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.002022/0.002022, allocations: 173 kB / 23.03 MB, free: 1.543 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 1.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.091/2.091, allocations: 429.5 MB / 0.6733 GB, free: 3.984 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 2.184e-06/2.184e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.698e-05/3.916e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.01933/0.01937, allocations: 15.99 MB / 0.8938 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.03223, allocations: 6.011 MB / 0.8997 GB, free: 224 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003358/0.03559, allocations: 111.1 kB / 0.8998 GB, free: 112 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.03725, allocations: 444.4 kB / 0.9002 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003702/0.04096, allocations: 1.173 MB / 0.9013 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.04453, allocations: 1.356 MB / 0.9027 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.005193/0.04972, allocations: 3.173 MB / 0.9058 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.05151, allocations: 0.9521 MB / 0.9067 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.05531, allocations: 1.645 MB / 0.9083 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.05675, allocations: 0.7981 MB / 0.9091 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003099/0.05706, allocations: 92 kB / 0.9092 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.05813, allocations: 495 kB / 0.9096 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.05836, allocations: 310.6 kB / 0.9099 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004338/0.05879, allocations: 458.8 kB / 0.9104 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.0603, allocations: 1.218 MB / 0.9116 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.06031, allocations: 0 / 0.9116 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.06031, allocations: 0 / 0.9116 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.325e-05/0.06034, allocations: 0 / 0.9116 GB, free: 4.004 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.001917/0.06226, allocations: 1.685 MB / 0.9132 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.0623, allocations: 12.03 kB / 0.9132 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005107/0.06282, allocations: 275.9 kB / 0.9135 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.06386, allocations: 0.8829 MB / 0.9144 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.06391, allocations: 66.38 kB / 0.9144 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.06398, allocations: 84.31 kB / 0.9145 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.065, allocations: 0.9702 MB / 0.9154 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.06502, allocations: 0 / 0.9154 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.06507, allocations: 40 kB / 0.9155 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.06508, allocations: 27.94 kB / 0.9155 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.06556, allocations: 303.5 kB / 0.9158 GB, free: 15.44 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.003326/0.06889, allocations: 4.83 MB / 0.9205 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.06931, allocations: 191.3 kB / 0.9207 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.06943, allocations: 76.16 kB / 0.9208 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.06957, allocations: 35.97 kB / 0.9208 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.0696, allocations: 41.39 kB / 0.9208 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=29): time 2.876e-06/0.06961, allocations: 0 / 0.9208 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29): time 0.001034/0.07064, allocations: 0.5092 MB / 0.9213 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.07067, allocations: 55.41 kB / 0.9214 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006978/0.07137, allocations: 0.835 MB / 0.9222 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.0714, allocations: 33.7 kB / 0.9222 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.07174, allocations: 0.6507 MB / 0.9229 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.07181, allocations: 115.1 kB / 0.923 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.07193, allocations: 115.8 kB / 0.9231 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.07206, allocations: 0.5003 MB / 0.9236 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.07219, allocations: 68.95 kB / 0.9236 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.07248, allocations: 0.4902 MB / 0.9241 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.07287, allocations: 446.5 kB / 0.9246 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.07288, allocations: 0 / 0.9246 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006208/0.0735, allocations: 0.5121 MB / 0.9251 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.07352, allocations: 10.34 kB / 0.9251 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.07353, allocations: 4 kB / 0.9251 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000394/0.07392, allocations: 127 kB / 0.9252 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.07421, allocations: 131.8 kB / 0.9253 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009076/0.07512, allocations: 2.439 MB / 0.9277 GB, free: 2.578 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.0754, allocations: 63.78 kB / 0.9278 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.07545, allocations: 32.08 kB / 0.9278 GB, free: 2.484 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.0001843/0.07563, allocations: 196.3 kB / 0.928 GB, free: 2.281 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.07574, allocations: 115.3 kB / 0.9281 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.07638, allocations: 462.1 kB / 0.9285 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.07638, allocations: 4 kB / 0.9285 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.07639, allocations: 0 / 0.9285 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.07639, allocations: 0 / 0.9285 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.07769, allocations: 1.198 MB / 0.9297 GB, free: 436 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.0777, allocations: 0 / 0.9297 GB, free: 436 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.0779, allocations: 72.06 kB / 0.9298 GB, free: 364 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002629/0.07817, allocations: 123 kB / 0.9299 GB, free: 228 kB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.07819, allocations: 12 kB / 0.9299 GB, free: 216 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007966/0.07899, allocations: 2.423 MB / 0.9323 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.07899, allocations: 4 kB / 0.9323 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.07954, allocations: 0.595 MB / 0.9328 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.07974, allocations: 159.3 kB / 0.933 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.0798, allocations: 8 kB / 0.933 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.08002, allocations: 35.97 kB / 0.933 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.08009, allocations: 31.95 kB / 0.9331 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.08012, allocations: 19.97 kB / 0.9331 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004215/0.08054, allocations: 0.5141 MB / 0.9336 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.08054, allocations: 0 / 0.9336 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006263/0.08116, allocations: 307.2 kB / 0.9339 GB, free: 11.96 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.000313/0.08148, allocations: 195 kB / 0.9341 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005866/0.08206, allocations: 312.5 kB / 0.9344 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.08207, allocations: 0 / 0.9344 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.08231, allocations: 164.6 kB / 0.9345 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.08336, allocations: 434.5 kB / 0.9349 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.08559, allocations: 1.66 MB / 0.9366 GB, free: 9.148 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.08573, allocations: 215.5 kB / 0.9368 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003798/0.08611, allocations: 150.9 kB / 0.9369 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.08621, allocations: 64.5 kB / 0.937 GB, free: 8.703 MB / 0.9011 GB Notification: Performance of SimCode: time 1.362e-06/0.08621, allocations: 0 / 0.937 GB, free: 8.703 MB / 0.9011 GB Notification: Performance of Templates: time 0.02148/0.1077, allocations: 17.68 MB / 0.9542 GB, free: 7.414 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: 5.853052329737693]