Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006949/0.006949, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001553/0.001553, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.347/1.347, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 1.054 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9234/0.9246, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1892/1.114, allocations: 171 MB / 1.375 GB, free: 1.949 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007233/1.121, allocations: 4.288 MB / 1.379 GB, free: 13.65 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000971/1.122, allocations: 23.88 kB / 1.379 GB, free: 13.63 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/1.124, allocations: 354 kB / 1.379 GB, free: 13.28 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002988/1.127, allocations: 0.9915 MB / 1.38 GB, free: 12.29 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/1.129, allocations: 0.813 MB / 1.381 GB, free: 11.48 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001928/1.131, allocations: 1.286 MB / 1.382 GB, free: 10.19 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008226/1.132, allocations: 491.2 kB / 1.383 GB, free: 9.703 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/1.133, allocations: 0.6693 MB / 1.383 GB, free: 9.031 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/1.135, allocations: 456.3 kB / 1.384 GB, free: 8.586 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/1.135, allocations: 52 kB / 1.384 GB, free: 8.535 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/1.137, allocations: 0.916 MB / 1.385 GB, free: 7.617 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002934/1.137, allocations: 223.3 kB / 1.385 GB, free: 7.398 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005135/1.137, allocations: 322.5 kB / 1.385 GB, free: 7.082 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001981/1.139, allocations: 1.132 MB / 1.386 GB, free: 5.949 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.139, allocations: 0 / 1.386 GB, free: 5.949 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.623e-06/1.139, allocations: 3.938 kB / 1.386 GB, free: 5.945 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.554e-05/1.139, allocations: 0 / 1.386 GB, free: 5.945 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002014/1.141, allocations: 0.9427 MB / 1.387 GB, free: 4.953 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/1.141, allocations: 8.031 kB / 1.387 GB, free: 4.945 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/1.143, allocations: 271 kB / 1.388 GB, free: 4.68 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009723/1.144, allocations: 0.4896 MB / 1.388 GB, free: 4.148 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/1.144, allocations: 40.98 kB / 1.388 GB, free: 4.109 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.421e-05/1.144, allocations: 36 kB / 1.388 GB, free: 4.074 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/1.146, allocations: 0.6107 MB / 1.389 GB, free: 3.438 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/1.146, allocations: 4 kB / 1.389 GB, free: 3.434 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/1.146, allocations: 20 kB / 1.389 GB, free: 3.414 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/1.146, allocations: 21 kB / 1.389 GB, free: 3.395 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/1.147, allocations: 0.5464 MB / 1.389 GB, free: 2.848 MB / 1.107 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.004171/1.151, allocations: 2.268 MB / 1.392 GB, free: 460 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009237/1.152, allocations: 274.3 kB / 1.392 GB, free: 176 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/1.153, allocations: 172.7 kB / 1.392 GB, free: 0 / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/1.153, allocations: 8.047 kB / 1.392 GB, free: 15.99 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/1.153, allocations: 38.5 kB / 1.392 GB, free: 15.94 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 2.043e-06/1.153, allocations: 4 kB / 1.392 GB, free: 15.94 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.005046/1.158, allocations: 1.088 MB / 1.393 GB, free: 14.82 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/1.158, allocations: 77.11 kB / 1.393 GB, free: 14.73 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006745/1.159, allocations: 0.5534 MB / 1.394 GB, free: 14.16 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/1.159, allocations: 25.7 kB / 1.394 GB, free: 14.13 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/1.159, allocations: 307.4 kB / 1.394 GB, free: 13.82 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/1.159, allocations: 39.45 kB / 1.394 GB, free: 13.79 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/1.159, allocations: 65.59 kB / 1.394 GB, free: 13.71 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.159, allocations: 358.8 kB / 1.394 GB, free: 13.36 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006172/1.16, allocations: 183.8 kB / 1.395 GB, free: 13.18 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/1.161, allocations: 270.5 kB / 1.395 GB, free: 12.88 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/1.162, allocations: 407 kB / 1.395 GB, free: 12.45 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.162, allocations: 0 / 1.395 GB, free: 12.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002613/1.164, allocations: 0.7238 MB / 1.396 GB, free: 11.72 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.164, allocations: 8.094 kB / 1.396 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.164, allocations: 4 kB / 1.396 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006457/1.165, allocations: 188.7 kB / 1.396 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/1.166, allocations: 75.81 kB / 1.396 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/1.169, allocations: 2.232 MB / 1.398 GB, free: 9.082 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006298/1.17, allocations: 71.48 kB / 1.398 GB, free: 9.012 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/1.17, allocations: 12 kB / 1.398 GB, free: 9 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003147/1.17, allocations: 193.5 kB / 1.399 GB, free: 8.805 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/1.171, allocations: 55.34 kB / 1.399 GB, free: 8.75 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/1.171, allocations: 51.97 kB / 1.399 GB, free: 8.695 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/1.171, allocations: 4 kB / 1.399 GB, free: 8.691 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.171, allocations: 0 / 1.399 GB, free: 8.691 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.171, allocations: 3.984 kB / 1.399 GB, free: 8.688 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/1.174, allocations: 1.125 MB / 1.4 GB, free: 7.496 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.174, allocations: 0 / 1.4 GB, free: 7.496 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/1.174, allocations: 36.05 kB / 1.4 GB, free: 7.461 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005299/1.175, allocations: 184.7 kB / 1.4 GB, free: 7.277 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/1.175, allocations: 11.97 kB / 1.4 GB, free: 7.266 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003593/1.178, allocations: 2.191 MB / 1.402 GB, free: 4.934 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.178, allocations: 0 / 1.402 GB, free: 4.934 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/1.181, allocations: 0.7 MB / 1.403 GB, free: 4.207 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/1.181, allocations: 164.5 kB / 1.403 GB, free: 4.027 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.252e-05/1.181, allocations: 8 kB / 1.403 GB, free: 4.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/1.182, allocations: 47.88 kB / 1.403 GB, free: 3.973 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/1.182, allocations: 15.98 kB / 1.403 GB, free: 3.957 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/1.182, allocations: 11.98 kB / 1.403 GB, free: 3.945 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004811/1.182, allocations: 394.8 kB / 1.404 GB, free: 3.562 MB / 1.123 GB Notification: Performance of sort global known variables: time 2e-07/1.182, allocations: 0 / 1.404 GB, free: 3.562 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000659/1.183, allocations: 183.7 kB / 1.404 GB, free: 3.383 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004465/1.184, allocations: 185.9 kB / 1.404 GB, free: 3.207 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0016/1.185, allocations: 0.5218 MB / 1.404 GB, free: 2.672 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.185, allocations: 384 / 1.404 GB, free: 2.672 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007416/1.186, allocations: 306.5 kB / 1.405 GB, free: 2.359 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/1.187, allocations: 295.9 kB / 1.405 GB, free: 2.07 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/1.191, allocations: 1.065 MB / 1.406 GB, free: 0.9766 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/1.191, allocations: 0.8621 MB / 1.407 GB, free: 88 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004209/1.191, allocations: 104.6 kB / 1.407 GB, free: 15.98 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/1.192, allocations: 39.38 kB / 1.407 GB, free: 15.94 MB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/1.192, allocations: 0 / 1.407 GB, free: 15.94 MB / 1.139 GB Notification: Performance of Templates: time 0.02158/1.213, allocations: 12.68 MB / 1.419 GB, free: 3.434 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches