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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 78.02 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002275/0.002275, allocations: 158.8 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.885/2.885, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 71.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9049/0.907, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.209/1.116, allocations: 155.4 MB / 1.338 GB, free: 10.43 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02232/1.138, allocations: 14.8 MB / 1.353 GB, free: 11.59 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/1.14, allocations: 43.62 kB / 1.353 GB, free: 11.54 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/1.141, allocations: 0.5934 MB / 1.353 GB, free: 10.95 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004699/1.146, allocations: 1.682 MB / 1.355 GB, free: 9.258 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004451/1.151, allocations: 1.711 MB / 1.357 GB, free: 7.555 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003927/1.154, allocations: 2.96 MB / 1.36 GB, free: 4.578 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/1.157, allocations: 1.47 MB / 1.361 GB, free: 3.051 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004545/1.161, allocations: 1.711 MB / 1.363 GB, free: 1.379 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/1.163, allocations: 0.9838 MB / 1.364 GB, free: 400 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003172/1.163, allocations: 204 kB / 1.364 GB, free: 196 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/1.166, allocations: 1.263 MB / 1.365 GB, free: 14.92 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007248/1.167, allocations: 0.5841 MB / 1.366 GB, free: 14.34 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001285/1.168, allocations: 0.8594 MB / 1.367 GB, free: 13.47 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005915/1.174, allocations: 3.121 MB / 1.37 GB, free: 10.34 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.174, allocations: 0 / 1.37 GB, free: 10.34 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.773e-06/1.174, allocations: 0 / 1.37 GB, free: 10.34 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.415e-05/1.174, allocations: 0 / 1.37 GB, free: 10.34 MB / 1.217 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.004325/1.178, allocations: 2.336 MB / 1.372 GB, free: 7.957 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/1.178, allocations: 12.03 kB / 1.372 GB, free: 7.945 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/1.183, allocations: 0.6074 MB / 1.372 GB, free: 7.336 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/1.185, allocations: 1.085 MB / 1.374 GB, free: 6.211 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/1.185, allocations: 119.2 kB / 1.374 GB, free: 6.094 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/1.185, allocations: 156 kB / 1.374 GB, free: 5.941 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00391/1.189, allocations: 2.478 MB / 1.376 GB, free: 3.23 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/1.189, allocations: 0 / 1.376 GB, free: 3.23 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/1.189, allocations: 72 kB / 1.376 GB, free: 3.16 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-05/1.19, allocations: 51.98 kB / 1.376 GB, free: 3.109 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/1.193, allocations: 1.823 MB / 1.378 GB, free: 1.281 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008235/1.202, allocations: 4.477 MB / 1.383 GB, free: 12.71 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/1.205, allocations: 1.39 MB / 1.384 GB, free: 11.31 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/1.206, allocations: 0.5735 MB / 1.384 GB, free: 10.73 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/1.207, allocations: 88.88 kB / 1.385 GB, free: 10.64 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002163/1.209, allocations: 1.333 MB / 1.386 GB, free: 9.18 MB / 1.232 GB Notification: Performance of pre-optimization done (n=126): time 3.256e-06/1.209, allocations: 0 / 1.386 GB, free: 9.18 MB / 1.232 GB Notification: Performance of matching and sorting (n=126): time 0.005938/1.215, allocations: 1.964 MB / 1.388 GB, free: 7.203 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/1.215, allocations: 192.9 kB / 1.388 GB, free: 6.973 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/1.216, allocations: 0.8455 MB / 1.389 GB, free: 6.102 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/1.216, allocations: 57.64 kB / 1.389 GB, free: 6.039 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006985/1.217, allocations: 0.6925 MB / 1.389 GB, free: 5.336 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004327/1.218, allocations: 440.2 kB / 1.39 GB, free: 4.902 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004043/1.218, allocations: 234.8 kB / 1.39 GB, free: 4.664 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000184/1.218, allocations: 349.9 kB / 1.39 GB, free: 4.316 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/1.219, allocations: 0.4905 MB / 1.391 GB, free: 3.828 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/1.221, allocations: 0.8535 MB / 1.392 GB, free: 2.887 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/1.224, allocations: 1.124 MB / 1.393 GB, free: 1.738 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.224, allocations: 4 kB / 1.393 GB, free: 1.734 MB / 1.232 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003855/1.227, allocations: 1.442 MB / 1.394 GB, free: 288 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/1.227, allocations: 4 kB / 1.394 GB, free: 284 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.227, allocations: 4 kB / 1.394 GB, free: 280 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000665/1.228, allocations: 88.92 kB / 1.394 GB, free: 188 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/1.23, allocations: 311.5 kB / 1.395 GB, free: 15.88 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/1.232, allocations: 1.512 MB / 1.396 GB, free: 14.26 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.234, allocations: 131.3 kB / 1.396 GB, free: 14.13 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/1.234, allocations: 55.95 kB / 1.396 GB, free: 14.08 MB / 1.248 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.0009106/1.235, allocations: 383.8 kB / 1.397 GB, free: 13.7 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004109/1.235, allocations: 131.2 kB / 1.397 GB, free: 13.57 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004407/1.24, allocations: 1.698 MB / 1.398 GB, free: 11.86 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/1.24, allocations: 12 kB / 1.398 GB, free: 11.84 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.24, allocations: 4 kB / 1.398 GB, free: 11.84 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/1.24, allocations: 7.969 kB / 1.398 GB, free: 11.83 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006718/1.246, allocations: 2.896 MB / 1.401 GB, free: 8.895 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.246, allocations: 3.938 kB / 1.401 GB, free: 8.891 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.248, allocations: 287.6 kB / 1.402 GB, free: 8.609 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/1.248, allocations: 72.78 kB / 1.402 GB, free: 8.535 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/1.249, allocations: 39.97 kB / 1.402 GB, free: 8.496 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/1.251, allocations: 1.536 MB / 1.403 GB, free: 6.852 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.251, allocations: 0 / 1.403 GB, free: 6.852 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005567/1.256, allocations: 2.342 MB / 1.405 GB, free: 4.484 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/1.257, allocations: 318.7 kB / 1.406 GB, free: 4.172 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/1.257, allocations: 32 kB / 1.406 GB, free: 4.141 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.259, allocations: 95.95 kB / 1.406 GB, free: 4.047 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/1.259, allocations: 105.1 kB / 1.406 GB, free: 3.945 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/1.259, allocations: 63.89 kB / 1.406 GB, free: 3.883 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00107/1.26, allocations: 0.5825 MB / 1.407 GB, free: 3.289 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.26, allocations: 0 / 1.407 GB, free: 3.289 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001654/1.262, allocations: 0.5765 MB / 1.407 GB, free: 2.711 MB / 1.248 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.0025/1.264, allocations: 0.7263 MB / 1.408 GB, free: 2.191 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003513/1.268, allocations: 1.334 MB / 1.409 GB, free: 0.8438 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.268, allocations: 4.5 kB / 1.409 GB, free: 0.8398 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/1.27, allocations: 0.7674 MB / 1.41 GB, free: 64 kB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.272, allocations: 0.4945 MB / 1.41 GB, free: 15.59 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006837/1.279, allocations: 2.999 MB / 1.413 GB, free: 12.55 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/1.28, allocations: 0.7245 MB / 1.414 GB, free: 11.79 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001749/1.282, allocations: 433.5 kB / 1.415 GB, free: 11.37 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/1.282, allocations: 152.4 kB / 1.415 GB, free: 11.22 MB / 1.264 GB Notification: Performance of SimCode: time 9.61e-07/1.282, allocations: 0 / 1.415 GB, free: 11.22 MB / 1.264 GB Notification: Performance of Templates: time 0.04939/1.332, allocations: 26.23 MB / 1.44 GB, free: 1.414 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.273035799968056]