Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008734/0.008734, allocations: 99.16 kB / 15.73 MB, free: 6.062 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.001539/0.001539, allocations: 196.1 kB / 16.67 MB, free: 5.965 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.577/2.577, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9294/0.9307, allocations: 159.1 MB / 1.221 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1916/1.122, allocations: 176.6 MB / 1.393 GB, free: 0.793 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01995/1.142, allocations: 15.7 MB / 1.408 GB, free: 1.043 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/1.145, allocations: 31.81 kB / 1.408 GB, free: 1.012 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/1.146, allocations: 0.6402 MB / 1.409 GB, free: 376 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004938/1.151, allocations: 1.617 MB / 1.411 GB, free: 14.75 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004441/1.156, allocations: 1.676 MB / 1.412 GB, free: 13.08 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003643/1.16, allocations: 2.91 MB / 1.415 GB, free: 10.16 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/1.162, allocations: 1.524 MB / 1.417 GB, free: 8.578 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/1.165, allocations: 1.421 MB / 1.418 GB, free: 7.188 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/1.167, allocations: 1.042 MB / 1.419 GB, free: 6.141 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002607/1.167, allocations: 200 kB / 1.419 GB, free: 5.945 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/1.169, allocations: 1.33 MB / 1.421 GB, free: 4.613 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00051/1.17, allocations: 0.584 MB / 1.421 GB, free: 4.027 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/1.171, allocations: 1.026 MB / 1.422 GB, free: 2.996 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003912/1.175, allocations: 3.029 MB / 1.425 GB, free: 15.96 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.175, allocations: 8 kB / 1.425 GB, free: 15.95 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.113e-06/1.175, allocations: 0 / 1.425 GB, free: 15.95 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.696e-05/1.175, allocations: 0 / 1.425 GB, free: 15.95 MB / 1.154 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.004095/1.179, allocations: 2.361 MB / 1.427 GB, free: 13.52 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.179, allocations: 12.03 kB / 1.427 GB, free: 13.51 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00298/1.182, allocations: 470.3 kB / 1.428 GB, free: 13.05 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/1.184, allocations: 1.149 MB / 1.429 GB, free: 11.85 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/1.184, allocations: 123.2 kB / 1.429 GB, free: 11.73 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/1.184, allocations: 156 kB / 1.429 GB, free: 11.58 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/1.187, allocations: 1.792 MB / 1.431 GB, free: 9.707 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/1.187, allocations: 7.938 kB / 1.431 GB, free: 9.699 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/1.187, allocations: 68 kB / 1.431 GB, free: 9.633 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/1.187, allocations: 47.98 kB / 1.431 GB, free: 9.586 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002914/1.19, allocations: 1.772 MB / 1.433 GB, free: 7.809 MB / 1.154 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.008315/1.199, allocations: 6.152 MB / 1.439 GB, free: 1.297 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/1.201, allocations: 1.481 MB / 1.44 GB, free: 15.76 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009061/1.202, allocations: 0.5152 MB / 1.441 GB, free: 15.23 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009126/1.203, allocations: 0.8828 MB / 1.442 GB, free: 14.17 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/1.204, allocations: 0.7973 MB / 1.442 GB, free: 13.36 MB / 1.17 GB Notification: Performance of pre-optimization done (n=126): time 2.866e-06/1.204, allocations: 0 / 1.442 GB, free: 13.36 MB / 1.17 GB Notification: Performance of matching and sorting (n=126): time 0.004636/1.209, allocations: 1.895 MB / 1.444 GB, free: 11.43 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.209, allocations: 196.9 kB / 1.444 GB, free: 11.2 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/1.21, allocations: 0.9872 MB / 1.445 GB, free: 10.19 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/1.21, allocations: 53.7 kB / 1.445 GB, free: 10.13 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005199/1.211, allocations: 0.6657 MB / 1.446 GB, free: 9.457 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/1.211, allocations: 444.2 kB / 1.447 GB, free: 9.02 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/1.211, allocations: 234.8 kB / 1.447 GB, free: 8.785 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.212, allocations: 345.9 kB / 1.447 GB, free: 8.441 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008417/1.212, allocations: 454.4 kB / 1.448 GB, free: 7.996 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009803/1.213, allocations: 0.6019 MB / 1.448 GB, free: 7.359 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/1.215, allocations: 1.031 MB / 1.449 GB, free: 6.305 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.215, allocations: 4 kB / 1.449 GB, free: 6.301 MB / 1.17 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00285/1.218, allocations: 1.352 MB / 1.45 GB, free: 4.938 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.218, allocations: 4 kB / 1.45 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.218, allocations: 8.156 kB / 1.45 GB, free: 4.926 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/1.219, allocations: 84.77 kB / 1.451 GB, free: 4.84 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.22, allocations: 299.6 kB / 1.451 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/1.222, allocations: 1.648 MB / 1.452 GB, free: 2.754 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.223, allocations: 147.1 kB / 1.453 GB, free: 2.609 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.872e-05/1.223, allocations: 51.95 kB / 1.453 GB, free: 2.559 MB / 1.17 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.0007169/1.224, allocations: 383.3 kB / 1.453 GB, free: 2.176 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/1.224, allocations: 143.1 kB / 1.453 GB, free: 2.035 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/1.228, allocations: 1.602 MB / 1.455 GB, free: 432 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/1.228, allocations: 12 kB / 1.455 GB, free: 420 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.228, allocations: 0 / 1.455 GB, free: 420 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/1.228, allocations: 11.91 kB / 1.455 GB, free: 408 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005567/1.233, allocations: 3.163 MB / 1.458 GB, free: 13.17 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.233, allocations: 3.938 kB / 1.458 GB, free: 13.17 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/1.234, allocations: 267.6 kB / 1.458 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/1.235, allocations: 80.78 kB / 1.458 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.404e-05/1.235, allocations: 39.97 kB / 1.458 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/1.237, allocations: 1.674 MB / 1.46 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.237, allocations: 0 / 1.46 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00403/1.241, allocations: 2.187 MB / 1.462 GB, free: 8.75 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007137/1.242, allocations: 399.8 kB / 1.462 GB, free: 8.34 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/1.242, allocations: 27.94 kB / 1.462 GB, free: 8.312 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.243, allocations: 98.16 kB / 1.462 GB, free: 8.219 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/1.243, allocations: 97.11 kB / 1.463 GB, free: 8.125 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/1.243, allocations: 63.95 kB / 1.463 GB, free: 8.062 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009748/1.244, allocations: 0.68 MB / 1.463 GB, free: 7.375 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/1.244, allocations: 0 / 1.463 GB, free: 7.375 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001354/1.245, allocations: 0.561 MB / 1.464 GB, free: 6.812 MB / 1.186 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.001579/1.247, allocations: 0.7053 MB / 1.464 GB, free: 6.289 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002525/1.25, allocations: 1.244 MB / 1.466 GB, free: 5.031 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.25, allocations: 448 / 1.466 GB, free: 5.031 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/1.251, allocations: 0.7051 MB / 1.466 GB, free: 4.316 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/1.253, allocations: 0.5843 MB / 1.467 GB, free: 3.754 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/1.258, allocations: 2.901 MB / 1.47 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008602/1.259, allocations: 1.303 MB / 1.471 GB, free: 15.49 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001364/1.26, allocations: 438.8 kB / 1.471 GB, free: 15.06 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/1.261, allocations: 151.4 kB / 1.472 GB, free: 14.91 MB / 1.201 GB Notification: Performance of SimCode: time 1.152e-06/1.261, allocations: 7.938 kB / 1.472 GB, free: 14.9 MB / 1.201 GB Notification: Performance of Templates: time 0.04625/1.307, allocations: 27.26 MB / 1.498 GB, free: 4.008 MB / 1.217 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches