Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 172.9 kB / 316.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 86.3 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.522e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2249, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.44/5.665, allocations: 2.213 GB / 3.098 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/5.666, allocations: 83.95 kB / 3.098 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.503/7.169, allocations: 461.5 MB / 3.549 GB, free: 69.96 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.894e-06/7.169, allocations: 0 / 3.549 GB, free: 69.96 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001148/7.169, allocations: 55.92 kB / 3.549 GB, free: 69.91 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.003231/7.173, allocations: 1.781 MB / 3.55 GB, free: 68.07 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/7.173, allocations: 8.031 kB / 3.55 GB, free: 68.06 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/7.175, allocations: 457.3 kB / 3.551 GB, free: 67.61 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/7.177, allocations: 0.9777 MB / 3.552 GB, free: 66.59 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/7.177, allocations: 52 kB / 3.552 GB, free: 66.54 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/7.177, allocations: 91.91 kB / 3.552 GB, free: 66.45 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00201/7.179, allocations: 1.513 MB / 3.553 GB, free: 64.94 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/7.181, allocations: 1.42 MB / 3.555 GB, free: 63.43 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/7.181, allocations: 7.938 kB / 3.555 GB, free: 63.43 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/7.181, allocations: 4 kB / 3.555 GB, free: 63.42 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/7.181, allocations: 39.95 kB / 3.555 GB, free: 63.38 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.006653/7.188, allocations: 5.61 MB / 3.56 GB, free: 57.49 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/7.189, allocations: 1.104 MB / 3.561 GB, free: 56.38 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/7.19, allocations: 0.4897 MB / 3.562 GB, free: 55.89 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007282/7.191, allocations: 0.887 MB / 3.563 GB, free: 54.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00087/7.192, allocations: 0.688 MB / 3.563 GB, free: 54.12 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=117): time 3.286e-06/7.192, allocations: 0 / 3.563 GB, free: 54.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117): time 0.002376/7.194, allocations: 1.094 MB / 3.565 GB, free: 53.01 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/7.194, allocations: 248.6 kB / 3.565 GB, free: 52.71 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008665/7.195, allocations: 0.6884 MB / 3.565 GB, free: 52.02 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/7.195, allocations: 29.7 kB / 3.566 GB, free: 51.98 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004619/7.196, allocations: 0.648 MB / 3.566 GB, free: 51.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/7.196, allocations: 386.3 kB / 3.567 GB, free: 50.94 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/7.196, allocations: 0 / 3.567 GB, free: 50.94 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/7.196, allocations: 345.9 kB / 3.567 GB, free: 50.59 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/7.196, allocations: 342.5 kB / 3.567 GB, free: 50.26 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/7.197, allocations: 0.5022 MB / 3.568 GB, free: 49.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/7.197, allocations: 430.1 kB / 3.568 GB, free: 49.29 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/7.197, allocations: 4 kB / 3.568 GB, free: 49.28 MB / 0.8698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001852/7.199, allocations: 1.078 MB / 3.569 GB, free: 48.19 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/7.199, allocations: 8 kB / 3.569 GB, free: 48.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/7.199, allocations: 3.953 kB / 3.569 GB, free: 48.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/7.2, allocations: 84.91 kB / 3.569 GB, free: 48.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/7.201, allocations: 267.6 kB / 3.569 GB, free: 47.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/7.203, allocations: 1.469 MB / 3.571 GB, free: 46.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/7.204, allocations: 103.4 kB / 3.571 GB, free: 46.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.27e-05/7.204, allocations: 47.91 kB / 3.571 GB, free: 46.09 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000322/7.204, allocations: 134.3 kB / 3.571 GB, free: 45.95 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/7.205, allocations: 118.8 kB / 3.571 GB, free: 45.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/7.208, allocations: 1.373 MB / 3.573 GB, free: 44.45 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/7.208, allocations: 12 kB / 3.573 GB, free: 44.44 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/7.208, allocations: 0 / 3.573 GB, free: 44.44 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/7.208, allocations: 7.969 kB / 3.573 GB, free: 44.43 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/7.209, allocations: 1.228 MB / 3.574 GB, free: 43.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/7.209, allocations: 0 / 3.574 GB, free: 43.17 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/7.21, allocations: 267.7 kB / 3.574 GB, free: 42.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004776/7.211, allocations: 80.78 kB / 3.574 GB, free: 42.82 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.085e-05/7.211, allocations: 19.97 kB / 3.574 GB, free: 42.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/7.213, allocations: 1.496 MB / 3.576 GB, free: 41.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/7.213, allocations: 3.984 kB / 3.576 GB, free: 41.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/7.215, allocations: 1.808 MB / 3.577 GB, free: 39.35 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000861/7.216, allocations: 399.2 kB / 3.578 GB, free: 38.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/7.216, allocations: 64 / 3.578 GB, free: 38.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/7.217, allocations: 103.7 kB / 3.578 GB, free: 38.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/7.218, allocations: 85.19 kB / 3.578 GB, free: 38.76 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/7.218, allocations: 55.97 kB / 3.578 GB, free: 38.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006961/7.218, allocations: 0.5421 MB / 3.579 GB, free: 38.17 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/7.218, allocations: 0 / 3.579 GB, free: 38.17 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00221/7.221, allocations: 0.588 MB / 3.579 GB, free: 37.58 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003087/7.224, allocations: 1.893 MB / 3.581 GB, free: 35.72 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00178/7.226, allocations: 1.043 MB / 3.582 GB, free: 34.67 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/7.226, allocations: 4.797 kB / 3.582 GB, free: 34.66 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008541/7.226, allocations: 0.659 MB / 3.583 GB, free: 34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/7.229, allocations: 406.5 kB / 3.583 GB, free: 33.61 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/7.235, allocations: 2.239 MB / 3.585 GB, free: 31.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/7.236, allocations: 1.322 MB / 3.587 GB, free: 29.98 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002079/7.238, allocations: 424.6 kB / 3.587 GB, free: 29.56 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/7.239, allocations: 135.4 kB / 3.587 GB, free: 29.43 MB / 0.8698 GB Notification: Performance of SimCode: time 9.72e-07/7.239, allocations: 0 / 3.587 GB, free: 29.43 MB / 0.8698 GB Notification: Performance of Templates: time 0.04671/7.285, allocations: 28.46 MB / 3.615 GB, free: 1.086 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches