Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001344/0.001344, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001605/0.001605, allocations: 161.4 kB / 23.01 MB, free: 4.602 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.424/1.424, allocations: 177.2 MB / 203.4 MB, free: 8.895 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.926/2.926, allocations: 394.2 MB / 0.6386 GB, free: 11.93 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_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") [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.002277/0.002277, allocations: 69.77 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8643/0.8665, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1974/1.064, allocations: 148.3 MB / 1.331 GB, free: 1.512 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02542/1.089, allocations: 16.21 MB / 1.347 GB, free: 1.262 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/1.091, allocations: 43.62 kB / 1.347 GB, free: 1.219 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/1.093, allocations: 0.5583 MB / 1.348 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005944/1.099, allocations: 1.845 MB / 1.35 GB, free: 14.81 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004797/1.104, allocations: 1.462 MB / 1.351 GB, free: 13.36 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004398/1.108, allocations: 2.878 MB / 1.354 GB, free: 10.47 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/1.111, allocations: 1.582 MB / 1.355 GB, free: 8.836 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004816/1.116, allocations: 1.513 MB / 1.357 GB, free: 7.367 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/1.118, allocations: 1.042 MB / 1.358 GB, free: 6.32 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004447/1.118, allocations: 224 kB / 1.358 GB, free: 6.102 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/1.122, allocations: 1.454 MB / 1.36 GB, free: 4.645 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000929/1.123, allocations: 0.7984 MB / 1.36 GB, free: 3.844 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001441/1.124, allocations: 0.9991 MB / 1.361 GB, free: 2.84 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00631/1.131, allocations: 3.666 MB / 1.365 GB, free: 15.16 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.131, allocations: 4 kB / 1.365 GB, free: 15.16 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.963e-06/1.131, allocations: 0 / 1.365 GB, free: 15.16 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.982e-05/1.131, allocations: 0 / 1.365 GB, free: 15.16 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005607/1.136, allocations: 2.786 MB / 1.368 GB, free: 12.32 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.136, allocations: 16.02 kB / 1.368 GB, free: 12.3 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/1.141, allocations: 0.6151 MB / 1.368 GB, free: 11.68 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/1.144, allocations: 1.576 MB / 1.37 GB, free: 10.07 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/1.145, allocations: 127.4 kB / 1.37 GB, free: 9.945 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/1.145, allocations: 168 kB / 1.37 GB, free: 9.781 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/1.149, allocations: 2.701 MB / 1.373 GB, free: 6.844 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/1.149, allocations: 4 kB / 1.373 GB, free: 6.84 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/1.149, allocations: 68 kB / 1.373 GB, free: 6.773 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/1.149, allocations: 40 kB / 1.373 GB, free: 6.734 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/1.153, allocations: 2.05 MB / 1.375 GB, free: 4.68 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008463/1.161, allocations: 4.216 MB / 1.379 GB, free: 396 kB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003327/1.165, allocations: 1.691 MB / 1.381 GB, free: 14.7 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/1.166, allocations: 0.703 MB / 1.381 GB, free: 13.99 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000442/1.166, allocations: 117.2 kB / 1.381 GB, free: 13.88 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002185/1.168, allocations: 1.619 MB / 1.383 GB, free: 12.09 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 3.276e-06/1.168, allocations: 0 / 1.383 GB, free: 12.09 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.006983/1.175, allocations: 2.582 MB / 1.385 GB, free: 9.484 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/1.176, allocations: 193.2 kB / 1.386 GB, free: 9.254 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/1.178, allocations: 1.705 MB / 1.387 GB, free: 7.531 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/1.178, allocations: 65.64 kB / 1.387 GB, free: 7.461 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008256/1.179, allocations: 0.8592 MB / 1.388 GB, free: 6.59 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004752/1.179, allocations: 0.4919 MB / 1.389 GB, free: 6.094 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004324/1.18, allocations: 258.8 kB / 1.389 GB, free: 5.836 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002417/1.18, allocations: 361.9 kB / 1.389 GB, free: 5.477 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/1.181, allocations: 0.5882 MB / 1.39 GB, free: 4.887 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/1.183, allocations: 1.232 MB / 1.391 GB, free: 3.5 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/1.186, allocations: 1.333 MB / 1.392 GB, free: 2.156 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.186, allocations: 0 / 1.392 GB, free: 2.156 MB / 1.232 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004347/1.19, allocations: 1.8 MB / 1.394 GB, free: 340 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.19, allocations: 4 kB / 1.394 GB, free: 336 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.19, allocations: 4.031 kB / 1.394 GB, free: 332 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/1.191, allocations: 220.1 kB / 1.394 GB, free: 96 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/1.193, allocations: 335.5 kB / 1.395 GB, free: 15.77 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006604/1.2, allocations: 6.682 MB / 1.401 GB, free: 8.57 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/1.201, allocations: 147.2 kB / 1.401 GB, free: 8.426 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/1.201, allocations: 56.02 kB / 1.401 GB, free: 8.371 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009766/1.202, allocations: 483.5 kB / 1.402 GB, free: 7.887 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/1.203, allocations: 186.8 kB / 1.402 GB, free: 7.703 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004683/1.207, allocations: 2.12 MB / 1.404 GB, free: 5.551 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.207, allocations: 16 kB / 1.404 GB, free: 5.535 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.207, allocations: 0 / 1.404 GB, free: 5.535 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/1.207, allocations: 7.969 kB / 1.404 GB, free: 5.527 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006928/1.214, allocations: 3.509 MB / 1.408 GB, free: 1.961 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.912e-06/1.214, allocations: 0 / 1.408 GB, free: 1.961 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/1.216, allocations: 319.5 kB / 1.408 GB, free: 1.648 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009778/1.217, allocations: 204.1 kB / 1.408 GB, free: 1.434 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/1.217, allocations: 39.97 kB / 1.408 GB, free: 1.395 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006608/1.224, allocations: 6.713 MB / 1.415 GB, free: 10.16 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.224, allocations: 4.031 kB / 1.415 GB, free: 10.16 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004462/1.228, allocations: 1.989 MB / 1.417 GB, free: 8.129 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.229, allocations: 398.2 kB / 1.417 GB, free: 7.738 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/1.229, allocations: 32 kB / 1.417 GB, free: 7.707 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.231, allocations: 99.89 kB / 1.417 GB, free: 7.609 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/1.231, allocations: 121.1 kB / 1.417 GB, free: 7.492 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.231, allocations: 67.95 kB / 1.417 GB, free: 7.426 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001805/1.233, allocations: 1.228 MB / 1.419 GB, free: 6.199 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.11e-07/1.233, allocations: 4 kB / 1.419 GB, free: 6.195 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001929/1.235, allocations: 0.7014 MB / 1.419 GB, free: 5.492 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002555/1.237, allocations: 0.7701 MB / 1.42 GB, free: 4.926 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003801/1.241, allocations: 2.039 MB / 1.422 GB, free: 2.824 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.241, allocations: 0.6562 kB / 1.422 GB, free: 2.824 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002212/1.243, allocations: 1.364 MB / 1.423 GB, free: 1.395 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/1.246, allocations: 0.5034 MB / 1.424 GB, free: 0.918 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006815/1.253, allocations: 3.794 MB / 1.427 GB, free: 13.09 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.254, allocations: 0.965 MB / 1.428 GB, free: 12.09 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001796/1.256, allocations: 0.5001 MB / 1.429 GB, free: 11.58 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/1.256, allocations: 164.4 kB / 1.429 GB, free: 11.42 MB / 1.279 GB Notification: Performance of SimCode: time 1.152e-06/1.256, allocations: 4 kB / 1.429 GB, free: 11.42 MB / 1.279 GB Notification: Performance of Templates: time 0.05798/1.314, allocations: 31.61 MB / 1.46 GB, free: 12.26 MB / 1.311 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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.5599534669891]