Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.008465/0.008465, allocations: 102.7 kB / 15.73 MB, free: 6.039 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.001674/0.001674, allocations: 197.5 kB / 16.67 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 67.64 kB / 0.9508 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3082, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1924/0.5007, allocations: 175.2 MB / 1.259 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6359/1.137, allocations: 15.53 MB / 1.274 GB, free: 3.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/1.139, allocations: 32.28 kB / 1.274 GB, free: 3.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001983/1.141, allocations: 0.6012 MB / 1.275 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005633/1.146, allocations: 1.526 MB / 1.276 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005662/1.152, allocations: 1.672 MB / 1.278 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005715/1.158, allocations: 2.743 MB / 1.281 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003614/1.161, allocations: 1.9 MB / 1.282 GB, free: 3.059 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/1.166, allocations: 1.406 MB / 1.284 GB, free: 3.035 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/1.168, allocations: 1.027 MB / 1.285 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007008/1.169, allocations: 197.8 kB / 1.285 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004507/1.173, allocations: 1.334 MB / 1.286 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001256/1.175, allocations: 0.564 MB / 1.287 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002698/1.177, allocations: 1.004 MB / 1.288 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006798/1.184, allocations: 2.967 MB / 1.291 GB, free: 2.527 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.184, allocations: 0.9688 kB / 1.291 GB, free: 2.527 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/1.184, allocations: 1.125 kB / 1.291 GB, free: 2.527 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.504e-05/1.184, allocations: 0.9062 kB / 1.291 GB, free: 2.527 MB / 1.014 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.004706/1.189, allocations: 2.272 MB / 1.293 GB, free: 1.441 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/1.189, allocations: 9.625 kB / 1.293 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003231/1.192, allocations: 470 kB / 1.293 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/1.194, allocations: 1.131 MB / 1.295 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/1.194, allocations: 123.3 kB / 1.295 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/1.194, allocations: 154.4 kB / 1.295 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/1.198, allocations: 1.789 MB / 1.297 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/1.198, allocations: 2.531 kB / 1.297 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/1.198, allocations: 69.72 kB / 1.297 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-05/1.198, allocations: 46.22 kB / 1.297 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003179/1.201, allocations: 1.777 MB / 1.298 GB, free: 0.6875 MB / 1.014 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.008766/1.21, allocations: 5.831 MB / 1.304 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/1.213, allocations: 1.561 MB / 1.306 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/1.214, allocations: 0.5669 MB / 1.306 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009917/1.215, allocations: 0.886 MB / 1.307 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/1.217, allocations: 0.7986 MB / 1.308 GB, free: 12.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=126): time 2.815e-06/1.217, allocations: 1 kB / 1.308 GB, free: 12.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=126): time 0.005562/1.222, allocations: 1.889 MB / 1.31 GB, free: 12.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/1.222, allocations: 197.3 kB / 1.31 GB, free: 12.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/1.224, allocations: 0.9825 MB / 1.311 GB, free: 12.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/1.224, allocations: 52.2 kB / 1.311 GB, free: 12.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008142/1.225, allocations: 0.6562 MB / 1.311 GB, free: 11.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004462/1.225, allocations: 421.4 kB / 1.312 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004549/1.226, allocations: 229 kB / 1.312 GB, free: 11.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.226, allocations: 354.6 kB / 1.312 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.227, allocations: 449.5 kB / 1.313 GB, free: 11.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/1.228, allocations: 0.6048 MB / 1.313 GB, free: 11.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/1.231, allocations: 1.035 MB / 1.314 GB, free: 11.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.231, allocations: 1.375 kB / 1.314 GB, free: 11.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003413/1.234, allocations: 1.353 MB / 1.316 GB, free: 10.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.234, allocations: 11.72 kB / 1.316 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.234, allocations: 2.25 kB / 1.316 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/1.235, allocations: 85.31 kB / 1.316 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/1.236, allocations: 290.8 kB / 1.316 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/1.238, allocations: 1.652 MB / 1.318 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/1.24, allocations: 136.2 kB / 1.318 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/1.24, allocations: 50.92 kB / 1.318 GB, free: 9.52 MB / 1.029 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.001058/1.241, allocations: 384.2 kB / 1.318 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004519/1.242, allocations: 140 kB / 1.318 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/1.245, allocations: 1.608 MB / 1.32 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.245, allocations: 13.34 kB / 1.32 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.245, allocations: 2.656 kB / 1.32 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/1.245, allocations: 6.906 kB / 1.32 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005358/1.251, allocations: 3.155 MB / 1.323 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.251, allocations: 0.875 kB / 1.323 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/1.252, allocations: 268 kB / 1.323 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/1.253, allocations: 74.3 kB / 1.323 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.53e-05/1.253, allocations: 39.05 kB / 1.323 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.255, allocations: 1.673 MB / 1.325 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.255, allocations: 5 kB / 1.325 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00428/1.259, allocations: 2.18 MB / 1.327 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/1.26, allocations: 401.6 kB / 1.328 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/1.26, allocations: 26.38 kB / 1.328 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.261, allocations: 87.3 kB / 1.328 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/1.261, allocations: 94.77 kB / 1.328 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/1.262, allocations: 63.89 kB / 1.328 GB, free: 5.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009612/1.262, allocations: 0.6823 MB / 1.329 GB, free: 5.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.262, allocations: 0.8125 kB / 1.329 GB, free: 5.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001685/1.264, allocations: 0.5268 MB / 1.329 GB, free: 5.445 MB / 1.029 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.001722/1.266, allocations: 0.7218 MB / 1.33 GB, free: 5.164 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002737/1.269, allocations: 1.274 MB / 1.331 GB, free: 4.695 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.269, allocations: 3.094 kB / 1.331 GB, free: 4.695 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/1.27, allocations: 0.7598 MB / 1.332 GB, free: 4.402 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/1.273, allocations: 0.5673 MB / 1.332 GB, free: 4.223 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006052/1.279, allocations: 2.957 MB / 1.335 GB, free: 2.805 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007898/1.28, allocations: 1.307 MB / 1.336 GB, free: 2.039 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001785/1.282, allocations: 433.5 kB / 1.337 GB, free: 1.914 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/1.282, allocations: 147.4 kB / 1.337 GB, free: 1.895 MB / 1.029 GB Notification: Performance of SimCode: time 6.62e-07/1.282, allocations: 0 / 1.337 GB, free: 1.895 MB / 1.029 GB Notification: Performance of Templates: time 0.04906/1.331, allocations: 26.42 MB / 1.363 GB, free: 8.371 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches