Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001412/0.001412, allocations: 108.9 kB / 16.41 MB, free: 6.465 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.001468/0.001468, allocations: 187 kB / 17.34 MB, free: 5.719 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.387/2.387, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 71.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8039/0.8053, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1852/0.9906, allocations: 176.2 MB / 1.339 GB, free: 2.961 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02039/1.011, allocations: 15.67 MB / 1.355 GB, free: 3.242 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/1.013, allocations: 31.81 kB / 1.355 GB, free: 3.211 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/1.014, allocations: 0.6246 MB / 1.355 GB, free: 2.582 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00477/1.019, allocations: 1.613 MB / 1.357 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004373/1.024, allocations: 1.691 MB / 1.359 GB, free: 15.29 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004061/1.028, allocations: 2.902 MB / 1.361 GB, free: 12.38 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003135/1.031, allocations: 1.86 MB / 1.363 GB, free: 10.46 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/1.035, allocations: 1.412 MB / 1.365 GB, free: 9.074 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/1.037, allocations: 1.05 MB / 1.366 GB, free: 8.02 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006535/1.038, allocations: 196 kB / 1.366 GB, free: 7.828 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/1.041, allocations: 1.341 MB / 1.367 GB, free: 6.484 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000862/1.042, allocations: 0.5724 MB / 1.368 GB, free: 5.91 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001751/1.043, allocations: 1.03 MB / 1.369 GB, free: 4.875 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004356/1.048, allocations: 3.01 MB / 1.372 GB, free: 1.855 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/1.048, allocations: 4 kB / 1.372 GB, free: 1.852 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.234e-06/1.048, allocations: 0 / 1.372 GB, free: 1.852 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.157e-05/1.048, allocations: 0 / 1.372 GB, free: 1.852 MB / 1.092 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.004052/1.052, allocations: 2.306 MB / 1.374 GB, free: 15.48 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/1.052, allocations: 8.922 kB / 1.374 GB, free: 15.47 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/1.055, allocations: 469.1 kB / 1.374 GB, free: 15.01 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/1.057, allocations: 1.136 MB / 1.375 GB, free: 13.83 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.693e-05/1.057, allocations: 123.2 kB / 1.376 GB, free: 13.71 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/1.057, allocations: 156 kB / 1.376 GB, free: 13.55 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/1.06, allocations: 1.778 MB / 1.377 GB, free: 11.7 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/1.06, allocations: 7.906 kB / 1.377 GB, free: 11.69 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/1.06, allocations: 71.98 kB / 1.377 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/1.06, allocations: 48 kB / 1.378 GB, free: 11.57 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002895/1.063, allocations: 1.768 MB / 1.379 GB, free: 9.801 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.008856/1.072, allocations: 6.149 MB / 1.385 GB, free: 3.289 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/1.075, allocations: 1.555 MB / 1.387 GB, free: 1.676 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009433/1.076, allocations: 0.5593 MB / 1.387 GB, free: 1.117 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008618/1.077, allocations: 0.8867 MB / 1.388 GB, free: 44 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/1.078, allocations: 0.8049 MB / 1.389 GB, free: 15.22 MB / 1.123 GB Notification: Performance of pre-optimization done (n=126): time 2.985e-06/1.078, allocations: 0 / 1.389 GB, free: 15.22 MB / 1.123 GB Notification: Performance of matching and sorting (n=126): time 0.004722/1.083, allocations: 1.879 MB / 1.391 GB, free: 13.31 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.083, allocations: 196.9 kB / 1.391 GB, free: 13.08 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/1.084, allocations: 0.9833 MB / 1.392 GB, free: 12.08 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/1.085, allocations: 53.7 kB / 1.392 GB, free: 12.02 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005191/1.085, allocations: 0.6644 MB / 1.393 GB, free: 11.34 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003778/1.085, allocations: 414 kB / 1.393 GB, free: 10.93 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/1.086, allocations: 230.8 kB / 1.393 GB, free: 10.7 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.086, allocations: 349.9 kB / 1.394 GB, free: 10.36 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008776/1.087, allocations: 454.3 kB / 1.394 GB, free: 9.91 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/1.088, allocations: 0.5942 MB / 1.395 GB, free: 9.281 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/1.09, allocations: 1.038 MB / 1.396 GB, free: 8.219 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.09, allocations: 4 kB / 1.396 GB, free: 8.215 MB / 1.123 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003001/1.093, allocations: 1.351 MB / 1.397 GB, free: 6.852 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.093, allocations: 8 kB / 1.397 GB, free: 6.844 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.093, allocations: 3.984 kB / 1.397 GB, free: 6.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/1.093, allocations: 88.92 kB / 1.397 GB, free: 6.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/1.095, allocations: 291.6 kB / 1.397 GB, free: 6.465 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/1.097, allocations: 1.654 MB / 1.399 GB, free: 4.668 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/1.098, allocations: 142.8 kB / 1.399 GB, free: 4.527 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/1.098, allocations: 51.97 kB / 1.399 GB, free: 4.477 MB / 1.123 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.0008018/1.099, allocations: 387.4 kB / 1.399 GB, free: 4.09 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/1.1, allocations: 134.4 kB / 1.4 GB, free: 3.957 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/1.103, allocations: 1.602 MB / 1.401 GB, free: 2.344 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/1.103, allocations: 16 kB / 1.401 GB, free: 2.328 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.103, allocations: 4 kB / 1.401 GB, free: 2.324 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.103, allocations: 7.969 kB / 1.401 GB, free: 2.316 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005399/1.108, allocations: 3.148 MB / 1.404 GB, free: 15.1 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/1.108, allocations: 11.94 kB / 1.404 GB, free: 15.09 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.11, allocations: 271.6 kB / 1.405 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/1.11, allocations: 72.78 kB / 1.405 GB, free: 14.75 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.231e-05/1.11, allocations: 47.91 kB / 1.405 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/1.112, allocations: 1.663 MB / 1.406 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.112, allocations: 0 / 1.406 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004221/1.116, allocations: 2.182 MB / 1.408 GB, free: 10.69 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/1.117, allocations: 398.9 kB / 1.409 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/1.118, allocations: 31.92 kB / 1.409 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/1.119, allocations: 83.92 kB / 1.409 GB, free: 10.16 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/1.119, allocations: 93.23 kB / 1.409 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/1.119, allocations: 63.95 kB / 1.409 GB, free: 10.01 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009242/1.12, allocations: 0.6839 MB / 1.41 GB, free: 9.32 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.12, allocations: 0 / 1.41 GB, free: 9.32 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001396/1.121, allocations: 0.5416 MB / 1.41 GB, free: 8.777 MB / 1.139 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.001593/1.123, allocations: 0.7097 MB / 1.411 GB, free: 8.23 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002598/1.126, allocations: 1.279 MB / 1.412 GB, free: 6.938 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.126, allocations: 4.875 kB / 1.412 GB, free: 6.934 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/1.127, allocations: 0.7634 MB / 1.413 GB, free: 6.16 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/1.129, allocations: 0.5818 MB / 1.414 GB, free: 5.594 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/1.134, allocations: 2.909 MB / 1.416 GB, free: 2.648 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008214/1.135, allocations: 1.307 MB / 1.418 GB, free: 1.312 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005954/1.136, allocations: 171.3 kB / 1.418 GB, free: 1.145 MB / 1.139 GB Notification: Performance of SimCode: time 4.4e-07/1.136, allocations: 0 / 1.418 GB, free: 1.145 MB / 1.139 GB Notification: Performance of Templates: time 0.04292/1.179, allocations: 32.01 MB / 1.449 GB, free: 1.246 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches