Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.001308/0.001308, 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.001463/0.001463, allocations: 161 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.906 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.907/2.907, 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_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [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.00233/0.00233, allocations: 71.88 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.8857, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2002/1.086, allocations: 148.4 MB / 1.332 GB, free: 1.441 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02527/1.111, allocations: 16.23 MB / 1.347 GB, free: 1.172 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/1.113, allocations: 39.62 kB / 1.347 GB, free: 1.133 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/1.114, allocations: 0.5583 MB / 1.348 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005287/1.12, allocations: 1.845 MB / 1.35 GB, free: 14.72 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003776/1.123, allocations: 1.473 MB / 1.351 GB, free: 13.26 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003823/1.127, allocations: 2.918 MB / 1.354 GB, free: 10.33 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/1.129, allocations: 1.567 MB / 1.356 GB, free: 8.711 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/1.134, allocations: 1.529 MB / 1.357 GB, free: 7.227 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/1.135, allocations: 1.046 MB / 1.358 GB, free: 6.176 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003655/1.136, allocations: 224 kB / 1.358 GB, free: 5.957 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/1.139, allocations: 1.462 MB / 1.36 GB, free: 4.492 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008185/1.14, allocations: 0.8101 MB / 1.361 GB, free: 3.68 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/1.141, allocations: 1.003 MB / 1.361 GB, free: 2.672 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004959/1.146, allocations: 3.689 MB / 1.365 GB, free: 14.97 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.146, allocations: 0 / 1.365 GB, free: 14.97 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.553e-06/1.146, allocations: 0 / 1.365 GB, free: 14.97 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.2e-05/1.146, allocations: 0 / 1.365 GB, free: 14.97 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005004/1.151, allocations: 2.82 MB / 1.368 GB, free: 12.1 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.151, allocations: 15.97 kB / 1.368 GB, free: 12.09 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004484/1.155, allocations: 0.6189 MB / 1.368 GB, free: 11.46 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/1.158, allocations: 1.584 MB / 1.37 GB, free: 9.848 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/1.158, allocations: 135.4 kB / 1.37 GB, free: 9.715 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/1.159, allocations: 168 kB / 1.37 GB, free: 9.551 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003949/1.162, allocations: 2.709 MB / 1.373 GB, free: 6.605 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/1.163, allocations: 0 / 1.373 GB, free: 6.605 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/1.163, allocations: 80 kB / 1.373 GB, free: 6.527 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/1.163, allocations: 44 kB / 1.373 GB, free: 6.484 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00388/1.167, allocations: 2.066 MB / 1.375 GB, free: 4.414 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009119/1.176, allocations: 4.369 MB / 1.379 GB, free: 15.96 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/1.179, allocations: 1.746 MB / 1.381 GB, free: 14.22 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/1.181, allocations: 0.7148 MB / 1.382 GB, free: 13.5 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004936/1.181, allocations: 113.2 kB / 1.382 GB, free: 13.39 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002505/1.184, allocations: 1.619 MB / 1.383 GB, free: 11.6 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 3.367e-06/1.184, allocations: 0 / 1.383 GB, free: 11.6 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.007213/1.191, allocations: 2.617 MB / 1.386 GB, free: 8.965 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/1.191, allocations: 197.2 kB / 1.386 GB, free: 8.73 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/1.194, allocations: 1.751 MB / 1.388 GB, free: 6.965 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001699/1.194, allocations: 57.7 kB / 1.388 GB, free: 6.902 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008569/1.195, allocations: 0.8789 MB / 1.389 GB, free: 6.012 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004899/1.195, allocations: 0.5035 MB / 1.389 GB, free: 5.508 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000441/1.196, allocations: 254.8 kB / 1.39 GB, free: 5.25 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001952/1.196, allocations: 365.9 kB / 1.39 GB, free: 4.887 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/1.197, allocations: 0.5999 MB / 1.39 GB, free: 4.289 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/1.199, allocations: 1.24 MB / 1.392 GB, free: 2.895 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/1.202, allocations: 1.353 MB / 1.393 GB, free: 1.531 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.202, allocations: 0 / 1.393 GB, free: 1.531 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004424/1.206, allocations: 1.839 MB / 1.395 GB, free: 15.67 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.206, allocations: 11.94 kB / 1.395 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/1.206, allocations: 3.938 kB / 1.395 GB, free: 15.65 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/1.207, allocations: 216.1 kB / 1.395 GB, free: 15.43 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.209, allocations: 335.6 kB / 1.395 GB, free: 15.1 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006788/1.216, allocations: 6.681 MB / 1.402 GB, free: 7.898 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/1.217, allocations: 161.7 kB / 1.402 GB, free: 7.742 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1.217, allocations: 47.97 kB / 1.402 GB, free: 7.695 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 (153): * Single equations (assignments): 148 * 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.0009964/1.218, allocations: 499.4 kB / 1.403 GB, free: 7.195 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/1.219, allocations: 186.8 kB / 1.403 GB, free: 7.012 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004911/1.224, allocations: 2.136 MB / 1.405 GB, free: 4.844 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.224, allocations: 16 kB / 1.405 GB, free: 4.828 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.224, allocations: 4 kB / 1.405 GB, free: 4.824 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/1.224, allocations: 11.91 kB / 1.405 GB, free: 4.812 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007177/1.231, allocations: 3.541 MB / 1.408 GB, free: 1.219 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.231, allocations: 3.938 kB / 1.408 GB, free: 1.215 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/1.233, allocations: 319.6 kB / 1.409 GB, free: 0.9023 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009222/1.233, allocations: 196.1 kB / 1.409 GB, free: 0.6953 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/1.234, allocations: 43.95 kB / 1.409 GB, free: 0.6523 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006725/1.24, allocations: 6.706 MB / 1.415 GB, free: 9.426 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.24, allocations: 4 kB / 1.415 GB, free: 9.422 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/1.246, allocations: 2.017 MB / 1.417 GB, free: 7.367 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.247, allocations: 402.2 kB / 1.418 GB, free: 6.973 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004297/1.247, allocations: 35.95 kB / 1.418 GB, free: 6.938 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.249, allocations: 103.9 kB / 1.418 GB, free: 6.836 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/1.249, allocations: 121 kB / 1.418 GB, free: 6.715 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/1.25, allocations: 71.94 kB / 1.418 GB, free: 6.645 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002126/1.252, allocations: 1.256 MB / 1.419 GB, free: 5.391 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/1.252, allocations: 0 / 1.419 GB, free: 5.391 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002293/1.254, allocations: 0.7053 MB / 1.42 GB, free: 4.684 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.002802/1.257, allocations: 0.7641 MB / 1.421 GB, free: 4.121 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004337/1.261, allocations: 2.047 MB / 1.423 GB, free: 2.012 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.261, allocations: 4.891 kB / 1.423 GB, free: 2.008 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00252/1.264, allocations: 1.379 MB / 1.424 GB, free: 0.5625 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/1.267, allocations: 0.5262 MB / 1.425 GB, free: 60 kB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008484/1.275, allocations: 3.932 MB / 1.428 GB, free: 12.09 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/1.277, allocations: 0.9695 MB / 1.429 GB, free: 11.09 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002161/1.279, allocations: 496.2 kB / 1.43 GB, free: 10.59 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006363/1.28, allocations: 176.4 kB / 1.43 GB, free: 10.42 MB / 1.279 GB Notification: Performance of SimCode: time 7.91e-07/1.28, allocations: 0 / 1.43 GB, free: 10.42 MB / 1.279 GB Notification: Performance of Templates: time 0.06025/1.34, allocations: 31.92 MB / 1.461 GB, free: 10.95 MB / 1.311 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.634800695930608]