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.001521/0.001521, allocations: 101.9 kB / 16.27 MB, free: 5.988 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.001572/0.001572, allocations: 188.9 kB / 17.2 MB, free: 5.613 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.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 72.36 kB / 0.9245 GB, free: 8 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8373, allocations: 162.2 MB / 1.083 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2276/1.065, allocations: 176.2 MB / 1.255 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02262/1.088, allocations: 15.67 MB / 1.27 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/1.089, allocations: 31.81 kB / 1.27 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/1.091, allocations: 0.6167 MB / 1.271 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004764/1.096, allocations: 1.562 MB / 1.272 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004488/1.101, allocations: 1.669 MB / 1.274 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004321/1.105, allocations: 2.89 MB / 1.277 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003111/1.108, allocations: 1.848 MB / 1.279 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00456/1.113, allocations: 1.58 MB / 1.28 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/1.114, allocations: 1.031 MB / 1.281 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004713/1.115, allocations: 200 kB / 1.281 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/1.118, allocations: 1.306 MB / 1.283 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006801/1.118, allocations: 0.5724 MB / 1.283 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/1.12, allocations: 1.03 MB / 1.284 GB, free: 268 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004305/1.124, allocations: 2.956 MB / 1.287 GB, free: 13.3 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.124, allocations: 0 / 1.287 GB, free: 13.3 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/1.124, allocations: 0 / 1.287 GB, free: 13.3 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.43e-05/1.124, allocations: 0 / 1.287 GB, free: 13.3 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.004875/1.129, allocations: 2.31 MB / 1.289 GB, free: 10.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.129, allocations: 8.031 kB / 1.289 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/1.132, allocations: 465.1 kB / 1.29 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/1.134, allocations: 1.093 MB / 1.291 GB, free: 9.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/1.134, allocations: 119.2 kB / 1.291 GB, free: 9.203 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/1.134, allocations: 156 kB / 1.291 GB, free: 9.051 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00323/1.138, allocations: 1.788 MB / 1.293 GB, free: 7.184 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/1.138, allocations: 11.84 kB / 1.293 GB, free: 7.172 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/1.138, allocations: 68 kB / 1.293 GB, free: 7.105 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.259e-05/1.138, allocations: 47.98 kB / 1.293 GB, free: 7.059 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003221/1.141, allocations: 1.772 MB / 1.295 GB, free: 5.281 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009281/1.151, allocations: 6.342 MB / 1.301 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/1.153, allocations: 1.553 MB / 1.303 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/1.155, allocations: 0.566 MB / 1.303 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/1.156, allocations: 0.8828 MB / 1.304 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001532/1.157, allocations: 0.7894 MB / 1.305 GB, free: 10.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=126): time 2.815e-06/1.157, allocations: 4 kB / 1.305 GB, free: 10.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=126): time 0.005037/1.162, allocations: 1.887 MB / 1.307 GB, free: 8.562 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/1.162, allocations: 200.9 kB / 1.307 GB, free: 8.324 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/1.164, allocations: 0.9833 MB / 1.308 GB, free: 7.324 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/1.164, allocations: 49.7 kB / 1.308 GB, free: 7.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006371/1.165, allocations: 0.6682 MB / 1.308 GB, free: 6.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/1.165, allocations: 418 kB / 1.309 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003778/1.166, allocations: 226.8 kB / 1.309 GB, free: 5.949 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.166, allocations: 349.9 kB / 1.309 GB, free: 5.602 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000976/1.167, allocations: 454.4 kB / 1.31 GB, free: 5.156 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/1.168, allocations: 0.598 MB / 1.31 GB, free: 4.523 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/1.17, allocations: 1.038 MB / 1.311 GB, free: 3.461 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.17, allocations: 0 / 1.311 GB, free: 3.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003186/1.173, allocations: 1.355 MB / 1.313 GB, free: 2.094 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.173, allocations: 4 kB / 1.313 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.173, allocations: 4 kB / 1.313 GB, free: 2.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/1.174, allocations: 96.77 kB / 1.313 GB, free: 1.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/1.175, allocations: 291.6 kB / 1.313 GB, free: 1.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/1.178, allocations: 1.642 MB / 1.315 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.179, allocations: 146.9 kB / 1.315 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.179, allocations: 47.97 kB / 1.315 GB, free: 15.72 MB / 1.045 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.0007249/1.18, allocations: 392.2 kB / 1.315 GB, free: 15.33 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/1.18, allocations: 134.4 kB / 1.315 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/1.184, allocations: 1.606 MB / 1.317 GB, free: 13.58 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.184, allocations: 19.94 kB / 1.317 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.184, allocations: 0 / 1.317 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/1.184, allocations: 7.969 kB / 1.317 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005691/1.189, allocations: 3.168 MB / 1.32 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/1.189, allocations: 4 kB / 1.32 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/1.191, allocations: 275.6 kB / 1.32 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/1.191, allocations: 76.78 kB / 1.32 GB, free: 9.969 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.252e-05/1.191, allocations: 39.97 kB / 1.32 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/1.194, allocations: 1.674 MB / 1.322 GB, free: 8.113 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.194, allocations: 3.938 kB / 1.322 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004467/1.198, allocations: 2.173 MB / 1.324 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006778/1.199, allocations: 394.9 kB / 1.325 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/1.199, allocations: 31.92 kB / 1.325 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.2, allocations: 90.52 kB / 1.325 GB, free: 5.391 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.2, allocations: 97.11 kB / 1.325 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.2, allocations: 59.95 kB / 1.325 GB, free: 5.238 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001005/1.201, allocations: 0.6839 MB / 1.325 GB, free: 4.547 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.61e-07/1.201, allocations: 0 / 1.325 GB, free: 4.547 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001392/1.203, allocations: 0.5494 MB / 1.326 GB, free: 3.996 MB / 1.045 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.002184/1.205, allocations: 0.6963 MB / 1.327 GB, free: 3.48 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004434/1.209, allocations: 1.701 MB / 1.328 GB, free: 1.766 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.209, allocations: 448 / 1.328 GB, free: 1.766 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/1.211, allocations: 0.7636 MB / 1.329 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/1.214, allocations: 0.5881 MB / 1.33 GB, free: 448 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005719/1.219, allocations: 2.944 MB / 1.333 GB, free: 13.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/1.22, allocations: 1.307 MB / 1.334 GB, free: 12.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006551/1.221, allocations: 167.3 kB / 1.334 GB, free: 11.95 MB / 1.061 GB Notification: Performance of SimCode: time 8.92e-07/1.221, allocations: 0 / 1.334 GB, free: 11.95 MB / 1.061 GB Notification: Performance of Templates: time 0.04734/1.269, allocations: 31.84 MB / 1.365 GB, free: 12.23 MB / 1.092 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=400 -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/jenkins1/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