Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001501/0.001501, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001584/0.001584, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.496/1.496, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.845/2.845, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.776e-05, allocations: 3.297 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.218/0.218, allocations: 148.3 MB / 0.9557 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02751/0.2455, allocations: 16.19 MB / 0.9715 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.247, allocations: 43.62 kB / 0.9715 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.2491, allocations: 0.5737 MB / 0.9721 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.006177/0.2553, allocations: 1.892 MB / 0.9739 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004316/0.2596, allocations: 1.473 MB / 0.9754 GB, free: 9.027 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005047/0.2646, allocations: 2.995 MB / 0.9783 GB, free: 6.023 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003338/0.268, allocations: 1.657 MB / 0.9799 GB, free: 4.312 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006903/0.2749, allocations: 2.13 MB / 0.982 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.2772, allocations: 0.9387 MB / 0.9829 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0007481/0.278, allocations: 232 kB / 0.9831 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003886/0.2819, allocations: 1.47 MB / 0.9846 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.2831, allocations: 0.8529 MB / 0.9854 GB, free: 14.83 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001949/0.2851, allocations: 0.8456 MB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00716/0.2922, allocations: 3.874 MB / 0.99 GB, free: 10.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2922, allocations: 0 / 0.99 GB, free: 10.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2922, allocations: 0 / 0.99 GB, free: 10.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.481e-05/0.2923, allocations: 0 / 0.99 GB, free: 10.09 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.006025/0.2984, allocations: 2.824 MB / 0.9928 GB, free: 7.219 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2984, allocations: 8.031 kB / 0.9928 GB, free: 7.211 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005146/0.3035, allocations: 0.8906 MB / 0.9936 GB, free: 6.316 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/0.3069, allocations: 1.646 MB / 0.9952 GB, free: 4.633 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.3071, allocations: 131.4 kB / 0.9954 GB, free: 4.504 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000424/0.3075, allocations: 184 kB / 0.9955 GB, free: 4.324 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004751/0.3122, allocations: 2.737 MB / 0.9982 GB, free: 1.352 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.3123, allocations: 4 kB / 0.9982 GB, free: 1.348 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/0.3125, allocations: 79.92 kB / 0.9983 GB, free: 1.27 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/0.3125, allocations: 44 kB / 0.9983 GB, free: 1.227 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004152/0.3167, allocations: 2.074 MB / 1 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.3276, allocations: 4.493 MB / 1.005 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00388/0.3315, allocations: 1.777 MB / 1.006 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.3331, allocations: 0.7307 MB / 1.007 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000493/0.3335, allocations: 129.2 kB / 1.007 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002632/0.3362, allocations: 1.639 MB / 1.009 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 3.937e-06/0.3362, allocations: 0 / 1.009 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.008192/0.3444, allocations: 2.726 MB / 1.012 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/0.3445, allocations: 205.2 kB / 1.012 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/0.3477, allocations: 1.751 MB / 1.013 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002611/0.348, allocations: 61.7 kB / 1.014 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.349, allocations: 0.8714 MB / 1.014 GB, free: 452 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006491/0.3497, allocations: 0.5153 MB / 1.015 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006069/0.3503, allocations: 279.4 kB / 1.015 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.3505, allocations: 361.9 kB / 1.016 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.3519, allocations: 0.6286 MB / 1.016 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.3542, allocations: 1.286 MB / 1.017 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/0.3573, allocations: 1.411 MB / 1.019 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.3573, allocations: 3.984 kB / 1.019 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005183/0.3625, allocations: 1.972 MB / 1.021 GB, free: 9.793 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.3625, allocations: 6.031 kB / 1.021 GB, free: 9.789 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3625, allocations: 4.062 kB / 1.021 GB, free: 9.785 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.3643, allocations: 284 kB / 1.021 GB, free: 9.492 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.3661, allocations: 347.5 kB / 1.021 GB, free: 9.152 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008049/0.3741, allocations: 6.71 MB / 1.028 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.3762, allocations: 159.3 kB / 1.028 GB, free: 1.766 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002757/0.3765, allocations: 59.95 kB / 1.028 GB, free: 1.707 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (166): * Single equations (assignments): 161 * 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.001282/0.3778, allocations: 0.4922 MB / 1.029 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007462/0.3785, allocations: 238.8 kB / 1.029 GB, free: 0.9727 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006234/0.3848, allocations: 2.192 MB / 1.031 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.3848, allocations: 16 kB / 1.031 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.191e-05/0.3848, allocations: 4 kB / 1.031 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/0.3848, allocations: 7.969 kB / 1.031 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.395, allocations: 3.772 MB / 1.035 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.395, allocations: 4 kB / 1.035 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.3967, allocations: 319.6 kB / 1.035 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001677/0.3984, allocations: 272 kB / 1.035 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.3985, allocations: 43.95 kB / 1.035 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007725/0.4063, allocations: 6.721 MB / 1.042 GB, free: 3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4063, allocations: 4 kB / 1.042 GB, free: 2.996 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005492/0.4118, allocations: 2.117 MB / 1.044 GB, free: 0.8438 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.4129, allocations: 398.2 kB / 1.044 GB, free: 464 kB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/0.4133, allocations: 47.92 kB / 1.044 GB, free: 416 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/0.4149, allocations: 103.9 kB / 1.044 GB, free: 312 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.4152, allocations: 121.8 kB / 1.045 GB, free: 188 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/0.4154, allocations: 71.95 kB / 1.045 GB, free: 116 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002435/0.4178, allocations: 1.252 MB / 1.046 GB, free: 14.86 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4178, allocations: 7.938 kB / 1.046 GB, free: 14.86 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002468/0.4203, allocations: 0.721 MB / 1.047 GB, free: 14.13 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00327/0.4236, allocations: 0.8105 MB / 1.047 GB, free: 13.53 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004928/0.4285, allocations: 2.132 MB / 1.049 GB, free: 11.34 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.4285, allocations: 4.656 kB / 1.049 GB, free: 11.33 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002572/0.4311, allocations: 1.387 MB / 1.051 GB, free: 9.879 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/0.4342, allocations: 0.5875 MB / 1.051 GB, free: 9.312 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008739/0.4429, allocations: 3.96 MB / 1.055 GB, free: 5.305 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.4448, allocations: 0.9693 MB / 1.056 GB, free: 4.301 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002477/0.4472, allocations: 0.4889 MB / 1.057 GB, free: 3.805 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007776/0.448, allocations: 180.4 kB / 1.057 GB, free: 3.629 MB / 1.01 GB Notification: Performance of SimCode: time 2.354e-06/0.448, allocations: 0 / 1.057 GB, free: 3.629 MB / 1.01 GB Notification: Performance of Templates: time 0.3931/0.8411, allocations: 32.78 MB / 1.089 GB, free: 281.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.926614579977468]