Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005261/0.005261, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001151/0.001151, allocations: 202 kB / 16.68 MB, free: 5.969 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.6 MB / 0.7453 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.91 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3475, allocations: 159.9 MB / 1.226 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.9533/1.301, allocations: 176.2 MB / 1.398 GB, free: 5.625 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02309/1.324, allocations: 15.66 MB / 1.413 GB, free: 8.941 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/1.326, allocations: 31.59 kB / 1.413 GB, free: 8.93 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002017/1.328, allocations: 0.6077 MB / 1.414 GB, free: 8.418 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005626/1.334, allocations: 1.568 MB / 1.415 GB, free: 7.215 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005214/1.339, allocations: 1.688 MB / 1.417 GB, free: 5.945 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004831/1.344, allocations: 2.911 MB / 1.42 GB, free: 4.219 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003017/1.347, allocations: 1.852 MB / 1.421 GB, free: 3.008 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/1.351, allocations: 1.381 MB / 1.423 GB, free: 2.242 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/1.353, allocations: 1.04 MB / 1.424 GB, free: 1.551 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004962/1.354, allocations: 200.1 kB / 1.424 GB, free: 1.551 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/1.357, allocations: 1.341 MB / 1.425 GB, free: 0.918 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006418/1.358, allocations: 0.5676 MB / 1.426 GB, free: 492 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/1.359, allocations: 1.031 MB / 1.427 GB, free: 15.76 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005648/1.365, allocations: 3.035 MB / 1.43 GB, free: 13.36 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/1.365, allocations: 0 / 1.43 GB, free: 13.36 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.264e-06/1.365, allocations: 0 / 1.43 GB, free: 13.36 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.603e-05/1.365, allocations: 0 / 1.43 GB, free: 13.36 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.004691/1.37, allocations: 2.365 MB / 1.432 GB, free: 10.93 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.37, allocations: 8.031 kB / 1.432 GB, free: 10.92 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/1.373, allocations: 475.2 kB / 1.433 GB, free: 10.45 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/1.375, allocations: 1.145 MB / 1.434 GB, free: 9.262 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/1.375, allocations: 123.2 kB / 1.434 GB, free: 9.141 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/1.375, allocations: 160 kB / 1.434 GB, free: 8.984 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/1.378, allocations: 1.784 MB / 1.436 GB, free: 7.121 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/1.378, allocations: 0 / 1.436 GB, free: 7.121 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/1.379, allocations: 71.94 kB / 1.436 GB, free: 7.051 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/1.379, allocations: 51.98 kB / 1.436 GB, free: 7 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003118/1.382, allocations: 1.768 MB / 1.438 GB, free: 5.227 MB / 1.123 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.009096/1.391, allocations: 6.159 MB / 1.444 GB, free: 14.71 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/1.394, allocations: 1.559 MB / 1.445 GB, free: 13.09 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/1.395, allocations: 0.5666 MB / 1.446 GB, free: 12.52 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009059/1.396, allocations: 0.8789 MB / 1.446 GB, free: 11.46 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/1.397, allocations: 0.7994 MB / 1.447 GB, free: 10.64 MB / 1.139 GB Notification: Performance of pre-optimization done (n=126): time 4.258e-06/1.397, allocations: 0 / 1.447 GB, free: 10.64 MB / 1.139 GB Notification: Performance of matching and sorting (n=126): time 0.004918/1.402, allocations: 1.899 MB / 1.449 GB, free: 8.719 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.402, allocations: 192.9 kB / 1.449 GB, free: 8.484 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/1.404, allocations: 0.995 MB / 1.45 GB, free: 7.473 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/1.404, allocations: 53.7 kB / 1.45 GB, free: 7.414 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/1.404, allocations: 0.6657 MB / 1.451 GB, free: 6.738 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004732/1.405, allocations: 444.2 kB / 1.451 GB, free: 6.301 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004126/1.405, allocations: 226.9 kB / 1.452 GB, free: 6.074 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.405, allocations: 353.9 kB / 1.452 GB, free: 5.723 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009819/1.406, allocations: 450.4 kB / 1.452 GB, free: 5.281 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/1.407, allocations: 0.5903 MB / 1.453 GB, free: 4.656 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/1.409, allocations: 1.046 MB / 1.454 GB, free: 3.586 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.409, allocations: 0 / 1.454 GB, free: 3.586 MB / 1.139 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003093/1.412, allocations: 1.352 MB / 1.455 GB, free: 2.223 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.412, allocations: 8.156 kB / 1.455 GB, free: 2.215 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.412, allocations: 4 kB / 1.455 GB, free: 2.211 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/1.413, allocations: 84.77 kB / 1.455 GB, free: 2.125 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.414, allocations: 287.6 kB / 1.456 GB, free: 1.844 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/1.417, allocations: 1.658 MB / 1.457 GB, free: 44 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.418, allocations: 143.3 kB / 1.457 GB, free: 15.9 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.418, allocations: 55.95 kB / 1.457 GB, free: 15.84 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008178/1.419, allocations: 383 kB / 1.458 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/1.419, allocations: 147.1 kB / 1.458 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003487/1.423, allocations: 1.606 MB / 1.46 GB, free: 13.7 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/1.423, allocations: 12 kB / 1.46 GB, free: 13.69 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.423, allocations: 0 / 1.46 GB, free: 13.69 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/1.423, allocations: 7.969 kB / 1.46 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005506/1.428, allocations: 3.175 MB / 1.463 GB, free: 10.45 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.428, allocations: 0 / 1.463 GB, free: 10.45 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.43, allocations: 271.6 kB / 1.463 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/1.43, allocations: 72.73 kB / 1.463 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.671e-05/1.43, allocations: 43.95 kB / 1.463 GB, free: 10.06 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/1.432, allocations: 1.67 MB / 1.465 GB, free: 8.242 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.432, allocations: 64 / 1.465 GB, free: 8.242 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004448/1.437, allocations: 2.191 MB / 1.467 GB, free: 6.027 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/1.437, allocations: 399.8 kB / 1.467 GB, free: 5.617 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/1.438, allocations: 31.94 kB / 1.467 GB, free: 5.586 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.439, allocations: 94.06 kB / 1.467 GB, free: 5.496 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/1.439, allocations: 93.19 kB / 1.467 GB, free: 5.406 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.439, allocations: 59.95 kB / 1.467 GB, free: 5.348 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009952/1.44, allocations: 0.68 MB / 1.468 GB, free: 4.66 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/1.44, allocations: 0 / 1.468 GB, free: 4.66 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00141/1.441, allocations: 0.5572 MB / 1.469 GB, free: 4.102 MB / 1.154 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001628/1.443, allocations: 0.7207 MB / 1.469 GB, free: 3.559 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002656/1.446, allocations: 1.283 MB / 1.471 GB, free: 2.262 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.446, allocations: 448 / 1.471 GB, free: 2.262 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/1.447, allocations: 0.7597 MB / 1.471 GB, free: 1.492 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/1.45, allocations: 0.575 MB / 1.472 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/1.455, allocations: 2.887 MB / 1.475 GB, free: 14.02 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009344/1.456, allocations: 1.304 MB / 1.476 GB, free: 12.68 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001712/1.458, allocations: 446.7 kB / 1.476 GB, free: 12.24 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004816/1.458, allocations: 155.4 kB / 1.477 GB, free: 12.09 MB / 1.17 GB Notification: Performance of SimCode: time 1.002e-06/1.458, allocations: 0 / 1.477 GB, free: 12.09 MB / 1.17 GB Notification: Performance of Templates: time 0.04887/1.507, allocations: 27.12 MB / 1.503 GB, free: 1.309 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches