Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 109.2 kB / 15.99 MB, free: 5.91 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.00204/0.00204, allocations: 191.5 kB / 16.91 MB, free: 5.758 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.3 MB / 0.665 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001486, allocations: 64.3 kB / 0.8127 GB, free: 33.29 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2934, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.7544/1.048, allocations: 164.9 MB / 1.111 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02187/1.07, allocations: 17.02 MB / 1.127 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/1.073, allocations: 29.66 kB / 1.127 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002038/1.075, allocations: 458.6 kB / 1.128 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006685/1.082, allocations: 1.55 MB / 1.129 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004463/1.086, allocations: 1.289 MB / 1.131 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004737/1.091, allocations: 2.682 MB / 1.133 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003008/1.094, allocations: 2.009 MB / 1.135 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006006/1.1, allocations: 1.389 MB / 1.137 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/1.102, allocations: 1.137 MB / 1.138 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004947/1.102, allocations: 221.2 kB / 1.138 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004179/1.107, allocations: 1.562 MB / 1.139 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000843/1.107, allocations: 0.7961 MB / 1.14 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/1.109, allocations: 1.194 MB / 1.141 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004466/1.114, allocations: 2.648 MB / 1.144 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/1.114, allocations: 3.094 kB / 1.144 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.946e-06/1.114, allocations: 0 / 1.144 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.081e-05/1.114, allocations: 7.938 kB / 1.144 GB, free: 3.555 MB / 0.8575 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.006556/1.12, allocations: 2.753 MB / 1.147 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.12, allocations: 8.875 kB / 1.147 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/1.125, allocations: 0.5589 MB / 1.147 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003518/1.128, allocations: 1.611 MB / 1.149 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/1.128, allocations: 130.7 kB / 1.149 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003582/1.129, allocations: 172.5 kB / 1.149 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004034/1.133, allocations: 1.962 MB / 1.151 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/1.133, allocations: 1.094 kB / 1.151 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/1.133, allocations: 76.97 kB / 1.151 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.544e-05/1.133, allocations: 41.19 kB / 1.151 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0039/1.137, allocations: 2.109 MB / 1.153 GB, free: 15.37 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/1.148, allocations: 5.851 MB / 1.159 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003606/1.152, allocations: 2.134 MB / 1.161 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/1.153, allocations: 0.7723 MB / 1.162 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/1.154, allocations: 427.7 kB / 1.162 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001883/1.156, allocations: 1.019 MB / 1.163 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 3.547e-06/1.156, allocations: 0 / 1.163 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.007136/1.163, allocations: 2.984 MB / 1.166 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/1.163, allocations: 204.3 kB / 1.166 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/1.167, allocations: 1.824 MB / 1.168 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005011/1.167, allocations: 63.8 kB / 1.168 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/1.168, allocations: 0.8474 MB / 1.169 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008147/1.169, allocations: 483.2 kB / 1.169 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008427/1.17, allocations: 254.7 kB / 1.17 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.17, allocations: 360.3 kB / 1.17 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/1.171, allocations: 0.6037 MB / 1.171 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/1.173, allocations: 0.8196 MB / 1.171 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/1.176, allocations: 1.357 MB / 1.173 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.176, allocations: 0 / 1.173 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004581/1.18, allocations: 1.834 MB / 1.175 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/1.18, allocations: 9.188 kB / 1.175 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.18, allocations: 3.406 kB / 1.175 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/1.182, allocations: 209 kB / 1.175 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/1.183, allocations: 343.1 kB / 1.175 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006641/1.19, allocations: 7.323 MB / 1.182 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/1.192, allocations: 191.8 kB / 1.182 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003075/1.192, allocations: 61.67 kB / 1.182 GB, free: 12.49 MB / 0.8887 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.001521/1.194, allocations: 487.4 kB / 1.183 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008542/1.195, allocations: 185.3 kB / 1.183 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005381/1.2, allocations: 2.139 MB / 1.185 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/1.2, allocations: 15.81 kB / 1.185 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/1.2, allocations: 2.094 kB / 1.185 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/1.2, allocations: 7.969 kB / 1.185 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009219/1.21, allocations: 4.03 MB / 1.189 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.21, allocations: 2.125 kB / 1.189 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/1.211, allocations: 324.7 kB / 1.189 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009175/1.212, allocations: 200.5 kB / 1.19 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/1.212, allocations: 41.16 kB / 1.19 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006493/1.219, allocations: 7.369 MB / 1.197 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.219, allocations: 3.938 kB / 1.197 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005211/1.224, allocations: 2.015 MB / 1.199 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.225, allocations: 467 kB / 1.199 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00063/1.226, allocations: 32.05 kB / 1.199 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/1.228, allocations: 130.1 kB / 1.199 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/1.228, allocations: 109.8 kB / 1.2 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.229, allocations: 73.66 kB / 1.2 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002446/1.231, allocations: 1.314 MB / 1.201 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.231, allocations: 0 / 1.201 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002886/1.234, allocations: 0.6634 MB / 1.202 GB, free: 14.33 MB / 0.9044 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.002387/1.236, allocations: 0.7602 MB / 1.202 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00602/1.242, allocations: 2.54 MB / 1.205 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.242, allocations: 4.547 kB / 1.205 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/1.245, allocations: 1.425 MB / 1.206 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/1.249, allocations: 0.5269 MB / 1.207 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009952/1.259, allocations: 4.735 MB / 1.211 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/1.26, allocations: 1.494 MB / 1.213 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009889/1.261, allocations: 199.3 kB / 1.213 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of SimCode: time 8.02e-07/1.261, allocations: 0 / 1.213 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of Templates: time 0.08099/1.342, allocations: 67.21 MB / 1.279 GB, free: 2.945 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches