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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001158/0.001158, allocations: 118.6 kB / 16.37 MB, free: 5.984 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.001114/0.001114, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 72.98 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2925, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.7433/1.036, allocations: 167.2 MB / 1.114 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02179/1.058, allocations: 17.2 MB / 1.131 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/1.06, allocations: 32.78 kB / 1.131 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/1.063, allocations: 0.5298 MB / 1.132 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008038/1.071, allocations: 1.686 MB / 1.133 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00548/1.076, allocations: 1.436 MB / 1.135 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00463/1.081, allocations: 2.679 MB / 1.137 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/1.084, allocations: 2.01 MB / 1.139 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/1.089, allocations: 1.391 MB / 1.141 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/1.091, allocations: 1.097 MB / 1.142 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005482/1.091, allocations: 221.8 kB / 1.142 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003882/1.095, allocations: 1.556 MB / 1.144 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008703/1.096, allocations: 0.7926 MB / 1.144 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001542/1.098, allocations: 1.196 MB / 1.146 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0056/1.103, allocations: 3.539 MB / 1.149 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.103, allocations: 4 kB / 1.149 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/1.103, allocations: 3.938 kB / 1.149 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.385e-05/1.103, allocations: 0 / 1.149 GB, free: 1.789 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.005748/1.109, allocations: 2.761 MB / 1.152 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.109, allocations: 9.625 kB / 1.152 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/1.113, allocations: 0.5603 MB / 1.152 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/1.116, allocations: 1.64 MB / 1.154 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/1.116, allocations: 126.7 kB / 1.154 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/1.117, allocations: 169.2 kB / 1.154 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003776/1.121, allocations: 1.956 MB / 1.156 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/1.121, allocations: 1.5 kB / 1.156 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/1.121, allocations: 73.84 kB / 1.156 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/1.121, allocations: 45.19 kB / 1.156 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003754/1.125, allocations: 2.117 MB / 1.158 GB, free: 13.59 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.01053/1.135, allocations: 5.807 MB / 1.164 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003369/1.138, allocations: 2.13 MB / 1.166 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/1.14, allocations: 0.7681 MB / 1.167 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/1.14, allocations: 430.9 kB / 1.167 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001684/1.142, allocations: 1.015 MB / 1.168 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 3.737e-06/1.142, allocations: 0 / 1.168 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.00669/1.149, allocations: 2.989 MB / 1.171 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.149, allocations: 196.8 kB / 1.171 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/1.151, allocations: 1.826 MB / 1.173 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002345/1.152, allocations: 56.48 kB / 1.173 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006907/1.152, allocations: 0.8515 MB / 1.174 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004059/1.153, allocations: 488.6 kB / 1.174 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/1.153, allocations: 255.8 kB / 1.175 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.153, allocations: 358.8 kB / 1.175 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/1.154, allocations: 0.6069 MB / 1.176 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/1.156, allocations: 0.81 MB / 1.176 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00222/1.158, allocations: 1.359 MB / 1.178 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/1.158, allocations: 0 / 1.178 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003944/1.162, allocations: 1.838 MB / 1.179 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/1.162, allocations: 12.59 kB / 1.179 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.162, allocations: 64 / 1.179 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/1.163, allocations: 207.4 kB / 1.18 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/1.164, allocations: 344.2 kB / 1.18 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005992/1.17, allocations: 7.321 MB / 1.187 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/1.172, allocations: 176.5 kB / 1.187 GB, free: 9.617 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1.173, allocations: 59.2 kB / 1.187 GB, free: 9.594 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.001156/1.174, allocations: 491.2 kB / 1.188 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004764/1.174, allocations: 182.5 kB / 1.188 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004291/1.178, allocations: 2.139 MB / 1.19 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.179, allocations: 12.94 kB / 1.19 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/1.179, allocations: 2.594 kB / 1.19 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/1.179, allocations: 7.969 kB / 1.19 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007175/1.186, allocations: 4.023 MB / 1.194 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.186, allocations: 0 / 1.194 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.187, allocations: 320.5 kB / 1.194 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008389/1.188, allocations: 206.5 kB / 1.195 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/1.188, allocations: 40.44 kB / 1.195 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005694/1.194, allocations: 7.349 MB / 1.202 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.194, allocations: 7.922 kB / 1.202 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00445/1.198, allocations: 2.025 MB / 1.204 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.2, allocations: 467.5 kB / 1.204 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002673/1.2, allocations: 27.5 kB / 1.204 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.201, allocations: 108.3 kB / 1.204 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/1.202, allocations: 118 kB / 1.204 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/1.202, allocations: 67.2 kB / 1.204 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001746/1.203, allocations: 1.312 MB / 1.206 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.203, allocations: 0 / 1.206 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002246/1.206, allocations: 0.6662 MB / 1.206 GB, free: 11.45 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.001902/1.208, allocations: 0.7531 MB / 1.207 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003624/1.211, allocations: 2.109 MB / 1.209 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/1.211, allocations: 7.297 kB / 1.209 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002208/1.214, allocations: 1.42 MB / 1.211 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/1.216, allocations: 0.5381 MB / 1.211 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008496/1.225, allocations: 3.943 MB / 1.215 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/1.226, allocations: 1.544 MB / 1.216 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002107/1.229, allocations: 0.5006 MB / 1.217 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/1.229, allocations: 175.3 kB / 1.217 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of SimCode: time 1.342e-06/1.229, allocations: 0 / 1.217 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of Templates: time 0.05649/1.286, allocations: 31.31 MB / 1.248 GB, free: 4.496 MB / 0.9356 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 -s cvode -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